3 ms·
> There is no way to obscure the call to direct "eval" itself; Jsfuck would like to have a word with you
by syrrim 6y ago
> There is no way to obscure the call to direct "eval" itself;
Jsfuck would like to have a word with you
- Mavvie 6y agoDoesn't JSFuck only work when strict mode is off?
- ithkuil 6y agoDoes it actually behave like having a literal eval in the function?
- jlokier 6y agoNice try! The Jsfuck method can't encode a direct "eval", only an indirect one :-) Thus the emphasis on direct. Well, Jsfuck can encode a direct eval inside an indirect eval, but that doesn't give it any advantages, it still can't access the surrounding lexical environment in the form of "let" and "const" variables. (I didn't know about Jsfuck though - it looks fun, thanks!)