Symbols
Symbols are compile-time constants which represent operators or identifiers. They're declared as literals using the #
prefix:
#litre
This is syntactic sugar for:
new Symbol("litre")
Symbols are compile-time constants which represent operators or identifiers. They're declared as literals using the #
prefix:
#litre
This is syntactic sugar for:
new Symbol("litre")