Closed Bug 621421 Opened 15 years ago Closed 14 years ago

JM: Missing "reference to undefined property" strict warning for destructuring argument

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

options('strict'); function f({x}) {} f([]); ./js strict warning: reference to undefined property "x" ./js -m (no warnings)
Simpler? options('strict'); [].d
Comment 1 might be a dup of bug 618319, not sure about comment 0.
Blocks: Jaeger
Interp: tests\621421.js:1: strict warning: reference to undefined property "x" JM: tests\621421.js:1: strict warning: reference to undefined property "x" JM+TI: tests\621421.js:1: strict warning: reference to undefined property "x"
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.