iterable
an object that can iterate over itself.
Last updated
Was this helpful?
an object that can iterate over itself.
Last updated
Was this helpful?
โฉ โฉ iterable
use cases
[...
iterable
]
- into array elements.
f(...
iterable
)
- into function arguments.
const [a, b, c] =
iterable
;
- iterable .
๏ผ
ExploringJS โฉ โญ๏ธ
JS.info โฉ
2ality โฉ
- convert iterable / array-like to array.
( = Sequence protocol in Swift )
( = makeIterator in Swift )