Closed
Bug 778549
Opened 14 years ago
Closed 14 years ago
Array.prototype.sort changes non-existent elements to undefined elements
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: anba, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120713134347
Steps to reproduce:
`[,].sort().hasOwnProperty("0")` should return `false`, but currently returns `true`.
| Reporter | ||
Comment 1•14 years ago
|
||
Pull request at https://github.com/mozilla/rhino/pull/74
Comment 2•14 years ago
|
||
Merged to git master:
https://github.com/mozilla/rhino/commit/9a1d8300353cb76e7b09220b4f6034a33e1f4957
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•