Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get object from array where property equals

var res = jsArray.find(obj => { return obj.b === 6 })
 
PREVIOUS NEXT
Tagged: #javascript #object #array #property #equals
ADD COMMENT
Topic
Name
3+3 =