Advertisements
Advertisements
Question
How many Literals in JavaScript and mention its types?
One Line Answer
Solution
A literal is a fixed value given to a variable in source code. Literals are often used to initialize variables. Values may be Integer, Floating point, Character, String and Boolean.
shaalaa.com
JavaScript Variables
Is there an error in this question or solution?