Bug 281061

Summary: `Array.prototype.concat` stopped to work with `Symbol.species`
Product: WebKit Reporter: zloirock <zloirock>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

zloirock
Reported 2024-10-08 09:37:25 PDT
`core-js` test case started to fail on WebKit from the latest Playwright on `Array.prototype.concat` + `Symbol.species` test: ```js const array = []; array.constructor = { [Symbol.species]: function () { return { foo: 1 }; } }; console.log(array.concat().foo); // => `undefined`, expected 1 ```
Attachments
Yusuke Suzuki
Comment 1 2024-10-09 00:04:03 PDT
Thanks! This is dupe of bug 280381 :) *** This bug has been marked as a duplicate of bug 280381 ***
Note You need to log in before you can comment on or make changes to this bug.