DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js remove null from array
const filteredArray = [1, null, undefined, 2].filter(Boolean)
Source by edabit.com #
PREVIOUS
NEXT
Tagged:
#js
#remove
#null
#array
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit