This isn't safe. This could be an array-like in a valid AST. In other words, it may not inherit from `Array.prototype`.