Skip to content

Instantly share code, notes, and snippets.

@michaelsbradleyjr
Created July 6, 2011 08:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelsbradleyjr/1066820 to your computer and use it in GitHub Desktop.
Save michaelsbradleyjr/1066820 to your computer and use it in GitHub Desktop.
var vm = require('vm')
require('task-joose-nodejs')
var Script = vm.createScript('console.log(typeof Joose.A.each)')
Script.runInThisContext() // -> 'function' is printed to the console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment