martpet
martpet•8mo ago

Why cannot use emoji in variable name?

The module's source code could not be parsed: Unexpected character '💿' at file:///Users/
1 Reply
marvinh.
marvinh.•8mo ago
Because that's not a valid character for identifiers in JavaScript, see https://mathiasbynens.be/notes/javascript-identifiers-es6

Did you find this page helpful?