Interesting bug in the V8 JIT compiler.
If you run the following on the latest chrome version (tested on v51) it’ll result in the following
function foo() {
return typeof null === "undefined";
}
for(var i=0; i<10000; ++i) console.log(foo())
138 false
9862 true