Since it's possible to push an undefined variable into an array without error, the problem must be that
input isn't defined when you try to call push() on it.
The usual reason for this problem is that there is another place where the variable
input is declared and it's never initialized in the unexpected place.
No hay comentarios:
Publicar un comentario