jcouyang / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

assertObjectEquals ignores negative array indexes #418

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
var a1 = [0];
var a2 = [0];
a2[-1] = -1;
assertObjectEquals(a1, a2);  // should throw AssertionError

Original issue reported on code.google.com by pall...@google.com on 7 Feb 2012 at 10:00

GoogleCodeExporter commented 9 years ago
will take crack at it

Original comment by nn...@google.com on 11 May 2012 at 7:59