DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
JS: remove elements on array
let b = a; a = []; console.log(b); // [1,2,3] Code language: JavaScript (javascript)
Source by www.javascripttutorial.net #
PREVIOUS
NEXT
Tagged:
#remove
#elements
#array
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit