javascript-learner/5.5Iterables
mhrooz d9bba74979 Iterables:
add a [Symbol.Iterable] to make the object iterable so that the object can use for of loop
the [Symbol.Iterable] is a function, it should return a object includesdone and value
Array.from method can return Array.from a arraylike object and iterable object
string can be used in array.from as well
2024-06-18 00:11:16 +02:00
..
t.js Iterables: 2024-06-18 00:11:16 +02:00