3 ms·
I'm more interested by how many people still seem to be using typeof instead of toString. What are you doing for array checking since typeof array === "object",
by forthefuture 12y ago
I'm more interested by how many people still seem to be using typeof instead of toString. What are you doing for array checking since typeof array === "object", !!x[0]?
- noiv 12y agoThere is also Array.isArray()