There was an error while loading. Please reload this page.
This code:
vm= require('vm'); vm.runInThisContext('console.trace()',{filename:'vmTest'});
gives such a output:
Trace at [object Object]:1:9
But docapi says: filename: allows you to control the filename that shows up in any stack traces produced.
This code:
gives such a output:
But docapi says:
filename: allows you to control the filename that shows up in any stack traces produced.