JSArrays suck.
mattbasta opened this issue · 2 comments
mattbasta commented
Arrays need members:
mattbasta commented
Also: non-strictly numeric members assigned to an array should be treated as properties and not converted to their integer equivalent.
For instance:
var x = [];
x[1] = "foo";
x["1.0"] = "bar";
x["a"] = "zap";
x
should have two elements: null
and "foo"
. It should have two new properties, though: "1.0"
and "a"
. They should still be accessible as members, but should not be included in the list output.
mattbasta commented
This is now done.