Search
 
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
Name
6+4 =