Open lionche opened 1 year ago
chakra-1.11.24.0, 1.13.0.0-beta
function foo() { var IntArr2 = new Int32Array(); Object.defineProperty(IntArr2, "length", {value: 1}); IntArr2[5] = 429496725; IntArr2[IntArr2.length] = 3; return [IntArr2,IntArr2.length] } for(let i = 0;i<100000;i++) foo() print(foo())
.ch Testcase.js
,0
,1
The correct output of the test case should be ,1 while chakra yields ,0 . This may be caused by the incorrect implementation of chakra JIT compiler.
Version
chakra-1.11.24.0, 1.13.0.0-beta
Test case
Execution steps
Output
Expected result
Description
The correct output of the test case should be
,1
while chakra yields,0
. This may be caused by the incorrect implementation of chakra JIT compiler.