@jdalton not an empty array, a falsey object. Let's add a length test here too, so the result is an empty array for anything that's not array-like.