Commit a90e701
committed
Implement ES2024 Array.fromAsync
Implements the Array.fromAsync static method from ECMAScript 2024.
This method creates arrays from async iterables and array-like objects,
allowing asynchronous mapping operations.
Key implementation details:
- Full support for async iterables (Symbol.asyncIterator)
- Support for regular iterables with async mapping
- Support for array-like objects with async mapping
- Proper error handling and promise rejection
- Compatible with the ECMAScript specification
Test262 conformance has been verified for all Array.fromAsync tests.1 parent 16305ee commit a90e701
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| 452 | + | |
| 453 | + | |
452 | 454 | | |
453 | 455 | | |
454 | 456 | | |
| |||
2563 | 2565 | | |
2564 | 2566 | | |
2565 | 2567 | | |
| 2568 | + | |
| 2569 | + | |
2566 | 2570 | | |
2567 | 2571 | | |
2568 | 2572 | | |
| |||
0 commit comments