You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, the iterable does not actually implement the Iterable protocol (and predates its implementation, IIRC). It could though! I'd take a PR making that true.
Hey,
I now know about toArray() but I got caught out today when iterate() didn't return an iterable suitable for Array.from()
Array.from() should expand the iterable:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from
so I guess the object returned from iterate is not truly 'iterable' in the way required by the spec.
Nice library though.. saved me a bunch of time elsewhere so I'm still net positive on time-savings thanks to twix. :-)
The text was updated successfully, but these errors were encountered: