HNHacker News
TopNewBestAskShowJobs

babablacksheep

8 karma · joined June 4, 2014

submissionscomments
babablacksheep··on JavaScript Garden
new Function() parses the JavaScript code stored in a string into a function object, which can then be called. It cannot access local variables because the code runs in a separate scope.