1 2 3 4 5 6 7 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);