1 2 3 4 5 6 7 8 9 10 11
function f(a) { var x = a; var y = x; assertEq((x << y), (a << a)); assertEq((y << x), (a << a)); } f(2);