Optimus icon indicating copy to clipboard operation
Optimus copied to clipboard

[JS] Acces to array item using "" leads to an Exception.

Open RusKnyaz opened this issue 5 years ago • 1 comments

Try to execute the code (came from jquery-ui): var arr = []; arr[""] = {};//<-- IndexOutOfRange exception here

expected: the value should be assigned and be able to access using arr[""]

RusKnyaz avatar Aug 31 '19 06:08 RusKnyaz

The bug is in Jint and I see no way to fix it in Optimus. Created issue sebastienros/jint#659

RusKnyaz avatar Sep 03 '19 05:09 RusKnyaz