Syntax error on valid javascript code
See original GitHub issue{ SyntaxError: Invalid left-hand side in assignment (64:39)
if (async === void 0) { async = false; }
^
at report (/a/node_modules/fuse-box/transform/meriyah.js:168:11)
at parseAssignmentExpression (/a/node_modules/fuse-box/transform/meriyah.js:2635:13)
at parseAsyncArrowOrAsyncFunctionDeclaration (/a/node_modules/fuse-box/transform/meriyah.js:1987:12)
at parseStatementListItem (/a/node_modules/fuse-box/transform/meriyah.js:1813:20)
at parseBlock (/a/node_modules/fuse-box/transform/meriyah.js:1908:19)
at parseStatement (/a/node_modules/fuse-box/transform/meriyah.js:1821:20)
at parseConsequentOrAlternate (/a/node_modules/fuse-box/transform/meriyah.js:2040:11)
at parseIfStatement (/a/node_modules/fuse-box/transform/meriyah.js:2025:24)
at parseStatement (/a/node_modules/fuse-box/transform/meriyah.js:1827:20)
at parseStatementListItem (/a/node_modules/fuse-box/transform/meriyah.js:1815:20)
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
How to Handle the Syntax Error in Javascript - Rollbar
Syntax errors in Javascript cannot be handled by using try-catch blocks as they are thrown while the code is being parsed. The window.onerror() ......
Read more >Syntax Validator - Esprima
Syntax Validator checks for mistakes and errors ... Unlike a typical code linter, this syntax validator does not care about coding styles and...
Read more >JavaScript Syntax Errors and How to Prevent Them - Meticulous
The complete guide on JavaScript Syntax Errors, how they occur, and techniques and tools available to prevent them.
Read more >JavaScript Validator - Validate js online - ExtendsClass
This JavaScript code checker tool highlights and allows to navigate between lines with syntax error. To check your code, you must copy and...
Read more >Simple way to check/validate javascript syntax - Stack Overflow
Try this: document.write('something'); a = 0; if (window.location == 'google.com') a = 1; document.write("aaa='andh"+a+"eded"'); a = { something ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jpike88 @nchanged No more need for custom builds. See https://github.com/meriyah/meriyah/issues/2
The issue was that “async” isn’t seen as a “ordinary” ident so I just forgot to make async ident assignable 😃
Fix is coming within a few minutes