Skip to content

Instantly share code, notes, and snippets.

@jchiatt
Created October 22, 2018 22:27
Show Gist options
  • Save jchiatt/86265ee8ba7321ae14621c55decdb9f3 to your computer and use it in GitHub Desktop.
Save jchiatt/86265ee8ba7321ae14621c55decdb9f3 to your computer and use it in GitHub Desktop.
How to Filter a JavaScript Array - Beginning
const exercises = [
{ name: "Bench Press", muscle: "Chest" },
{ name: "Back Squat", muscle: "Legs" },
{ name: "Deadlift", muscle: "Back" },
{ name: "Bent Over Row", muscle: "Back" },
{ name: "Overhead Press", muscle: "Shoulders" }
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment