gf3 / sandbox

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

Incorrect output when returning strings #43

Closed adamjc closed 8 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 8 years ago

I'm just being a moron, nevermind.