fork(4) download
  1. process.stdin.resume();
  2. process.stdin.setEncoding('utf8');
  3.  
  4. // your code goes here
  5. ob=function(arg){var prop=1, meth=function(x){return x+x;}; return eval(arg)}
  6. console.log(ob("meth(pop)"))
  7.  
Runtime error #stdin #stdout #stderr 0.06s 30896KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
undefined:1
meth(pop)
     ^
ReferenceError: pop is not defined
    at eval (eval at <anonymous> (/home/1OCCwA/prog.js:5:73))
    at ob (/home/1OCCwA/prog.js:5:68)
    at Object.<anonymous> (/home/1OCCwA/prog.js:6:13)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.runMain (module.js:492:10)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)