Bug 279659

Summary: [JSC] Implement `some`/`every`/`find` from Iterator Helpers Proposal
Product: WebKit Reporter: Sosuke Suzuki <aosukeke>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 280811    

Description Sosuke Suzuki 2024-09-13 02:03:44 PDT
This patch implements following methods from Iterator Helpers Proposal[1]:
    
    - `Iterator.prototype.some`[2]
    - `Iterator.prototype.every`[3]
    - `Iterator.prototype.find`[4]
    
    [1]: https://github.com/tc39/proposal-iterator-helpers
    [2]: https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.some
    [3]: https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.every
    [4]: https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.find
Comment 1 Sosuke Suzuki 2024-09-13 02:04:43 PDT
Pull request: https://github.com/WebKit/WebKit/pull/33608
Comment 2 EWS 2024-09-14 23:22:00 PDT
Committed 283677@main (08374f951b75): <https://commits.webkit.org/283677@main>

Reviewed commits have been landed. Closing PR #33608 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2024-09-14 23:22:13 PDT
<rdar://problem/136027193>