Skip to content

Instantly share code, notes, and snippets.

@townivan
Created August 16, 2019 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save townivan/e654a85a8e6e266f4a60b6c46381553f to your computer and use it in GitHub Desktop.
Save townivan/e654a85a8e6e266f4a60b6c46381553f to your computer and use it in GitHub Desktop.
Get a matching object from an array of objects with a specific value for a property
thingArray.filter(thing => (thing.Name === "Larry"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment