Skip to content

Instantly share code, notes, and snippets.

@randycasburn
Created February 1, 2021 17:07
Show Gist options
  • Select an option

  • Save randycasburn/4650b9bf850870dd08ea773627112b24 to your computer and use it in GitHub Desktop.

Select an option

Save randycasburn/4650b9bf850870dd08ea773627112b24 to your computer and use it in GitHub Desktop.
Temporory
if (exerciseName !== obj.exercise) {
let obj = {
exercise: 'remove',
exerciseDescription: '',
AlternativeExercise: '',
};
continue;
}
/* then after while loop */
allData.filter(d=>d.exercise !== 'remove');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment