Source code
Revision control
Copy as Markdown
Other Tools
function unboxint() {
var q = 0;
var o = [4];
for (var i = 0; i < 100; ++i)
q = o[0] << 1;
return q;
}
assertEq(unboxint(), 8);
function unboxint() {
var q = 0;
var o = [4];
for (var i = 0; i < 100; ++i)
q = o[0] << 1;
return q;
}
assertEq(unboxint(), 8);