Maheshjayachandran / closure-library

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

assertArrayEquals doesn't distinguish undefined and missing array items #419

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
var a1 = [0, undefined, 2];
var a2 = [0, 1, 2];
delete a2[1];
assertArrayEquals(a1, a2);  // should throw AssertionError

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

GoogleCodeExporter commented 9 years ago
more fun

Original comment by nn...@google.com on 11 May 2012 at 8:00