Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Clear or Reset a JavaScript Array



var ar = [1, 2, 3, 4, 5, 6];
//do stuffar = [];
//a new, empty array!

Source by love2dev.com #
 
PREVIOUS NEXT
Tagged: #Clear #Reset #JavaScript #Array
ADD COMMENT
Topic
Name
4+6 =