Hacker News new | ask | show | jobs
by Kiro 4771 days ago
Why do you need a closure?
1 comments

because creating a function using a string is the same as using

    new Function("code");
which makes use of eval() for the code