Practice ยท 1 of 2
Array Workout
Given const scores = [45, 92, 67, 88, 30]; (declare it yourself):
1. Write passing(scoresArr) that RETURNS a new array of only the scores >= 60.
2. Write toPercent(scoresArr) that RETURNS a new array with each score doubled.
3. Log how many scores are passing (use passing + .length).
4. Log whether the list contains a 100 (use .includes).
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Arrays: Lists of Values โ Practice