var bar = null;console.log(typeof bar === "object"); // logs true! console.log((bar !== null)) ;
Standard input is empty
Standard output is empty
prog.js:2:0 ReferenceError: console is not defined
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!