DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
remove null from array javascript
let array = [0, 1, null, 2, 3]; function removeNull(array) { return array.filter(x => x !== null) };
Source by edabit.com #
PREVIOUS
NEXT
Tagged:
#remove
#null
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit