It looks like `null instanceof Array` is also false. I suspect that using `instanceof` is faster and it's definitely clearer to me, so I support the change. Should this function ever return true for `null` though?