🚧 施工中
Last updated 2 years ago
Was this helpful?
⟩ ⟩ ⟩ literal
(token) a data value that appears directly in a program.
3.14 // number (numeric literal) "hello" // string true // boolean null // absence of an object
object literal
array literal
template literal
Null literal - null
bealean literals - true, false
octal literal / hexadecimal literal / ...
a literal is an expression.
String
octal literals not allowed in strict mode❗️
strict mode
⟩
ECMA ⟩ ⟩
octal literal
hexadecimal literal