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