Crash plugin when using template literals without semicolons
-
It looks like the problem is still present.
I tried the following code:var foo = `Hello` foo = `world`Got the following optimized code
try{var foo=`Hello`foo=`world`;}catch(e){}With error in it
Uncaught SyntaxError: Unexpected identifierThe following examples do not cause errors
// template literals with semicolons var foo = `Hello`; foo = `world`; -> try{var foo=`Hello`;foo=`world`;}catch(e){} // Simple strings without semicolons var foo = 'Hello' foo = 'world' -> try{var foo='Hello' foo='world';}catch(e){}
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Crash plugin when using template literals without semicolons’ is closed to new replies.