1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// |jit-test| error:TypeError // Binary: cache/js-dbg-64-d078623f7875-linux // Flags: -m -n -a // function testKeyTransitions() { var i, key, result, message; var array = []; for (i = 0; i != 10; i++) { key = (i < 3) ? 'pop' : (/\u009e\u0029/g ); array[key](i); } } testKeyTransitions();