2 ms·
I get that author's point, but do you REALLY need a dependency module that tells you the type of something? That's not a Lego block; that's an excuse.
by carlosnunez 11y ago
I get that author's point, but do you REALLY need a dependency module that tells you the type of something?
That's not a Lego block; that's an excuse.
- ctolsen 11y agoWhen using a language where isArray(arr) turns into toString.call(arr) == '[object Array]' ...then I guess that's more reasonable than if you use something sane.