Hacker News new | ask | show | jobs
by forthefuture 4181 days 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]?
1 comments

There is also Array.isArray()