Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to filter array in javascript

let names = ['obi','bisi','ada','ego']

const res = names.filter(name => name.length > 3)
 
PREVIOUS NEXT
Tagged: #filter #array #javascript
ADD COMMENT
Topic
Name
2+4 =