process.stdin.resume(); process.stdin.setEncoding('utf8'); // your code goes here ob=function(arg){var prop=1, meth=function(x){return x+x;}; return eval(arg)} console.log(ob("meth(pop)"))
Standard input is empty
Standard output is empty
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)