Found a bug in v8: class NonSpreadableArray extends Array { get [Symbol.isConcatSpreadable]() { return false; } } let a = new NonSpreadableArray(1,2,3) a.concat(a).length // => evaluates to 6, but should be 2
-
-
Thanks, Alex. I'd love to hear that I'm wrong about this, Mathias.
-
Definitely a
@v8js bug indeed. I’ve filed https://bugs.chromium.org/p/v8/issues/detail?id=9837 … to track this.@caitp88 do you remember the history here? +@tverwaes@_gsathya - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.