Hello, I think you've a error in your docs belonging to the vm Module. It says:
> JavaScript code can be compiled and run immediately or compiled, *saved*, > and run later. > http://nodejs.org/docs/v0.8.1/api/vm.html#vm_executing_javascript So if I would follow this sentence, i could do the following: vm = require('vm'); var script = vm.createScript("hello = 'Hello World!'"); // save the script??? ... JSON.stringify(script); OUTPUT: '{}' So how to save compiled Javascript? There is no entry in the API Docs, that describe saving compiled code. I think until today it's an error, so the sentence should be: Javascript can be compiled and run immediatley or compiled and run later. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
