¿Cómo se vacía una matriz en javascript?