blob: 673e5fd0c2f25f4a91e28cf79b6382d1cff15598 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
function f() {
let g = x => (x >>> {} >>> x, x);
let arr = [0, 0xffff, undefined];
for (let i = 0; i < 10; i++) {
for (let j = 0; j < 3; j++) {
let y = g(arr[j]);
assertEq(y, arr[j]);
}
}
}
f();
|