martpet
martpet•5mo 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.•5mo ago
Because that's not a valid character for identifiers in JavaScript, see https://mathiasbynens.be/notes/javascript-identifiers-es6