DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
empty array js
let list = [1, 2, 3, 4]; function empty() { //empty your array list.length = 0; } empty();
Source by www.jstips.co #
PREVIOUS
NEXT
Tagged:
#empty
#array
#js
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit