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