I think you've a error in your docs belonging to the vm Module.
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.