Syntax are further categorized as follows:
- Fixed Values (Literals)
- Variables Values (Variables)
Literals are fixed values that you provide in your code. Ther include string, array, boolean literals and more.
Variables are variable values that store data type.
An identifier is a sequence of characters in the code that identifies a variable, function, or property. (MDN Glossary)
They are part of the code itself and are case sensitive. They consist of letters, numbers, dollar and underscore symbols.
An expression is any valid set of literals, variables, operators, and expressions that evaluates to a single value. The value may be a number, a string, or a logical value.
An Expression can give an evaluation
If you made it to this point, then Congratulations! you know the rules. Want to know more? Feel free to learn more about each syntax as everything about them is not stated here. Remember to share your thought in the comment section.