juliangruber/isarray
View on GitHub ↗ ★ 130 JavaScript
Array#isArray for older browsers.
7 mentions on Hacker News by 7 people: 1 story, 6 comments · first 2016-03-25 · latest 2020-11-08
20082026
-
…thus making is as Node module was pointless, but polyfill for browsers might have some sense. - [0] https://github.com/juliangruber/isarray/commit/c8601522e3136... - [1] https://github.com/nodejs/node-v0.x-archive/blob/v0.1.15/Cha...
comment by aPoCoMiLogin · 2020-11-08 · in NPM package 'isarray' is downloaded 40M times a week -
…happened here, though who knows across X number of browsers and whatever JS engine updates happen. https://github.com/juliangruber/isarray/commit/1052c9d94dc87...
comment by tyingq · 2020-11-08 · in NPM package 'isarray' is downloaded 40M times a week -
…I think the implementation is very non-obvious, so I see the sense in shipping a canonical solution https://github.com/juliangruber/isarray/blob/master/index.js
comment by kzrdude · 2020-11-08 · in NPM package 'isarray' is downloaded 40M times a week -
Reading issue #27 on the github page really gives an insight into..something: https://github.com/juliangruber/isarray/issues/27
comment by raspyberr · 2020-11-08 · in NPM package 'isarray' is downloaded 40M times a week -
https://github.com/juliangruber/isarray/issues/27
comment by bluetidepro · 2020-11-08 · in NPM package 'isarray' is downloaded 40M times a week -
…Many steps of indirection away we find things like this include. https://github.com/juliangruber/isarray/blob/master/index.js module.exports = Array.isArray || function (arr) { return toString.call(arr) == '[object Array]';
comment by RL_Quine · 2020-02-12 · in Decentralized Naming and Certificate Authority