3 ms·
Should probably do `.length` to detect it's iterable and not do a type check since that's an anti pattern anyway.
by inglor 13y ago
Should probably do `.length` to detect it's iterable and not do a type check since that's an anti pattern anyway.
- underwater 13y agoThat would happily accept and iterate over a string, which wouldn't be desirable.