JS ⟩ grammar ⟩ token ⟩ identifier ⟩ vs. string
identifier vs. String
an identifier is not a string:
a string is data.
an identifier is part of the code.
conversion between them:
identifier -> string (❌ no way )
string -> identifier (⚠️ possible )
Identifier
Last updated 2 years ago