gf3 / sandbox

A nifty JavaScript sandbox for Node.js
ISC License
846 stars 123 forks source link

Incorrect output when returning strings #43

Closed adamjc closed 9 years ago

adamjc commented 9 years ago
s.run("(function(){return 'Hello';})()", function(o){
    console.log(o)
});

Will output

"\'Hello\'", rather than "Hello".

adamjc commented 9 years ago

I'm just being a moron, nevermind.