what are tokens in leag usage? mention its different types with example.
Answers
Answered by
13
Answer:
There are five categories of tokens:
1) constants,
2) identifiers,
3) operators,
4) separators, and
5) reserved words.
For example, the reserved words "new" and "function" are tokens of the JavaScript language. Operators, such as +, -, *, and /, are also tokens of nearly all programming languages.
Explanation:
hope it helps you
Similar questions