views:

48

answers:

1

i am looking for a Javascrit obfuscator tool that dont use eval in resulted obfuscatored code.

All tools i saw use eval in resulted code.

A: 

None. An obfuscator by definition needs to have a way to execute arbitrary code, and in JavaScript, that is accomplished with eval.

Jacob Relkin
cant it be done like write everything in a function and then execute the function ? this way it wont have global scope. May be some tool accomplished this sort of thing.
Arsheep
I suppose you could `eval` within a self-executing function.
Jacob Relkin