Array.prototype.foo = 1; // somewhere deep in other javascript code...var a = [1,2,3,4,5];for (let x in a){ console.log(x);}
Standard input is empty
Standard output is empty
prog.js:6:4 ReferenceError: console is not defined
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!