Open
Bug 601662
Opened 15 years ago
Updated 2 years ago
Optimize away return array object when function returning an array has it immediately assigned to destructuring assignment
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
NEW
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
I'm looking at things like:
function f() { return [1, 2]; }
var [a, b] = f();
Comment 1•15 years ago
|
||
Note bug 601072 comment 17.
Comment 2•15 years ago
|
||
(Thanks for the citation, cdleary!)
/be
Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Updated•3 years ago
|
Severity: normal → S3
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•