Le 29/07/2013 19:43, Brendan Eich a écrit :
BTW destructuring plus array return should be optimized to erase the
allocation and use the stack instead. E.g.,
function pair(a, b) { return [a, b]; }
let [x, y] = pair(z, w);
should not allocate a fresh array in pair. Anyone know whether there's
a bug asking for this?
https://bugzilla.mozilla.org/show_bug.cgi?id=865196
David
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals