KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Let's say I have an array of four objects: var jsObjects = [ {a: 1, b: 2}, {a: 3, b: 4}, {a: 5, b: 6}, {a: 7, b: 8} ]; Is there a way that I can get the third object ( {a: 5, b: 6} ) by the value of the property b for example without a for...in loop?
Tags (comma-separated)
Save Edits
Cancel