Basic JavaScript Syntax
Jonathan Bartlett · Apress eBooks · 2022
All languages, whether human or computer, have what is called a syntax . The syntax of a language are the ways in which words and symbols are allowed to go together. For instance, consider the English sentence “I ate the the apple.” That sentence has a syntax error —I put two “the”s in a row. That’s simply not allowed (and nonsensical) in English.