-
Yes, this really works! There are some restrictions, though: you can’t include as|from|default|of|in as words in your identifier, and its first word can’t be any of await|let|yield|get|set|static. See the code: github.com/j-f1/forked-engine262/compare/master...spaces-in-identifiers
-
Multiple spaces are collapsed into one (i.e.
foo bar baz
→foo bar baz
). The only allowed whitespace right now is U+0020 SPACE, but I’m open to adding more if they’d make sense. Please don’t use this in production though. Please. -
How to try it out: $ git clone github.com/j-f1/forked-engine262 -b spaces-in-identifiers $ cd forked-engine262 $ yarn $ yarn build # may take a few seconds $ node bin/engine262.js