`Array.isArray()` is safer