DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+9 =
Submit