lib/gcli/util/host.js
function(javascript) {
    try {
      return Promise.resolve({
        input: javascript,
        output: eval(javascript),
        exception: null
      });
    }
    catch (ex) {
      return Promise.resolve({
        input: javascript,
        output: null,
        exception: ex
      });
    }
  }
function(javascript) {
    try {
      return Promise.resolve({
        input: javascript,
        output: eval(javascript),
        exception: null
      });
    }
    catch (ex) {
      return Promise.resolve({
        input: javascript,
        output: null,
        exception: ex
      });
    }
  }
function ( javascript ) { try { return Promise . resolve ( { input : javascript , output : eval ( javascript ) , exception : null } ) ; } catch ( ex ) { return Promise . resolve ( { input : javascript , output : null , exception : ex } ) ; } }
Execute some JavaScript
Execute some JavaScript