You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

entry.js 126B

123456
  1. var vm = require('vm');
  2. $(function () {
  3. var res = vm.runInNewContext('a + 5', { a : 100 });
  4. $('#res').text(res);
  5. });