Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript array clear

var cars = ["mazda","honda","tesla"];
	cars = []; // clear/empty the array
 
PREVIOUS NEXT
Tagged: #javascript #array #clear
ADD COMMENT
Topic
Name
3+9 =