how to empty an array in JavaScript

Posted by amir on Stack Overflow See other posts from Stack Overflow or by amir
Published on 2009-08-05T09:08:39Z Indexed on 2010/04/20 3:33 UTC
Read the original article Hit count: 318

Filed under:

Hi, if there is an array, is it possible to empty with .remove()

for instance if

   A = [1,2,3,4];

how can I empty that.

thanks

© Stack Overflow or respective owner

Related posts about JavaScript