blob: ae31f6909a23187668f53f2734528b9ba3d05017 [file] [log] [blame]
var value1 = void 0;
var value2 = "hello";
(function() {
var result = 0;
for (var i = 0; i < 1000000; ++i) {
result += (typeof value1 == "undefined");
result += (typeof value2 == "undefined") << 1;
}
if (result != 1000000)
throw "Error: bad result: " + result;
})();