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