You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll get some invalid JS. Here's a formatted-ish chunk of the broken JS:
if(window.CP.shouldStopExecution(22)){break;}d=g.value,y=h+r(d,x++),v+=o(d,y,n,i);}// Invalid right here.window.CP.exitedLoop(22);elsefor(;!(g=E.next()).done;){if(window.CP.shouldStopExecution(23)){break;}var_=g.value;_&&(d=_[1],y=h+c.escape(_[0])+f+r(d,0),v+=o(d,y,n,i))}window.CP.exitedLoop(23);}
I added the stuff required for testing as 8-in.js and 8-out-broken.js.
You can run node output-checker.js to instrument and see results quickly.
The text was updated successfully, but these errors were encountered:
which is of course invalid because that else is dangling (since the for loop is a clause inside the if statement, and it is not enclosed by curly braces to form a block).
I believe the fix is to ensure that a loop is enclosed properly. Let me think of something.
Say you take the entire https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react.min.js and instrument it with what is here.
You'll get some invalid JS. Here's a formatted-ish chunk of the broken JS:
I added the stuff required for testing as
8-in.js
and8-out-broken.js
.You can run
node output-checker.js
to instrument and see results quickly.The text was updated successfully, but these errors were encountered: