-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
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:
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);
else for(;!(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.
Metadata
Metadata
Assignees
Labels
No labels