DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript clear an array
let arr = [3.14, 7]; arr = [];//make sure there is no other reference
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#clear
#array
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit