uneval-eval round trip turns array holes (represented by adjacent commas) into explicit undefined elements

RESOLVED WORKSFORME

Status

()

Core
JavaScript Engine
--
minor
RESOLVED WORKSFORME
11 years ago
9 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {testcase})

Trunk
x86
Mac OS X
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

11 years ago
js> uneval(new Array(3))
[, , ,]
js> uneval(eval(uneval(new Array(3))))
[undefined, undefined, undefined]

I don't know how incorrect this is.  I think it's orthogonal to bug 375801.
(Reporter)

Updated

11 years ago
No longer blocks: 349611
(Reporter)

Updated

11 years ago
Blocks: 349611
(Reporter)

Comment 1

9 years ago
WFM. Yay!
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.