JavaScript - Tokens, Identifiers and LiteralsTokens :It is a smallest unit of any programming language which consistsi. KeywordsIt is a predefined reserved words which can be understandable by the javscript engine. It should be always in lowercase.ii. IdentifiersName given by the programmer to the components of javascript like variables, functions etc.,Rules : iii. Variables / Literals :A named block of memory which is used to store a value is known as variables. It is a container to store data.Note : Eg: var/let/const identifier (keywords) (variable declaration & initialization ) var a=10; « Previous Next Topic » (JS - Comments, Variables) |