Created
June 24, 2021 09:28
-
-
Save restureese/752a81cefdef63ba29d90bc78881f7fa to your computer and use it in GitHub Desktop.
Get object by value in array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var result = jsObjects.filter(obj => { | |
| return obj.b === 6 | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment