let exerciseList = ['squat' , 'deadlift' , 'push-up', 'pull-up']
console.log(exerciseList) to print out your list of exercises and confirm that it works.
Now to empty your array, simply run the following:
exerciseList.length = ''
Now when you
console.log(exerciseList) again, you’ll get an empty array: