πŸ‡ RVKlein @rvk

I needed a more primitive method to check if an object is an array in JavaScript, something that'd work in IE5.1 for PPC MacOS because... don't ask.

(Array.prototype.prototype===([]).prototype)

Might also work faster than the toString methods I see used in some legacy compat libraries.

Β· Web Β· 0 Β· 0