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)
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #filter #array #javascript
ADD COMMENT
Topic
Name
4+6 =