michael@0: // |jit-test| error:TypeError michael@0: michael@0: // Binary: cache/js-dbg-64-d078623f7875-linux michael@0: // Flags: -m -n -a michael@0: // michael@0: michael@0: function testKeyTransitions() { michael@0: var i, key, result, message; michael@0: var array = []; michael@0: for (i = 0; i != 10; i++) { michael@0: key = (i < 3) ? 'pop' : (/\u009e\u0029/g ); michael@0: array[key](i); michael@0: } michael@0: } michael@0: testKeyTransitions();