js/src/jit-test/tests/auto-regress/bug679799.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:e1c7cab5b160
1 // Binary: cache/js-dbg-64-2d95fc517e57-linux
2 // Flags: -m -n -a
3 //
4
5 function test()
6 {
7 var x = { "0": 3, "-0": 7 };
8 try {
9 delete x["-0"];
10 if ("-0" in x)
11 throw "0 not in x after insertion of 0 property";
12 this ["-0"] = 7;
13 } catch(ex) {}
14 }
15 test();
16 test();

mercurial