ZeParser icon indicating copy to clipboard operation
ZeParser copied to clipboard

My JavaScript parser

Results 8 ZeParser issues
Sort by recently updated
recently updated
newest added

This example is valid; however, because the parser sets the `stack.parsedSwitchDefault` property for the first `switch` and doesn't reset it before parsing the second `switch`, it chokes when parsing the...

in ZeParser.js, near the end of `eatStatement`, I wanted to reset the `statementStart` property to `false`, but instead am setting it to `true`. Search for ``` // unmark token as...

the one by @mathiasbynens https://github.com/mathiasbynens/mothereff.in/tree/master/js-variables/tools

Should be invalid: `var \uD87E\uDC00 = 42;` The characters must, after being parsed, be validated against the identifier regex.

ZeParser parses `true: var a = 3;` without emitting any errors, even though this input raises a `SyntaxError` in all major implementations. The spec appears to confirm that this is...