ob=function(arg){var prop=1, meth=function(x){return x+x;}; return eval(arg)}print(ob("meth(foo)"))
Standard input is empty
Standard output is empty
prog.js:1: ReferenceError: foo is not defined
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!