Question: The array, grades, is and should be interchangeable. The code ,when finished, should add 10 to all values in the array. What code should do
The array, grades, is and should be interchangeable.
The code ,when finished, should add 10 to all values in the array.
What code should do in "English"
Step one: pretty much reads the array.
Step two: Add 10 to each value.
Step three: Replace each value with the new value.

Instructions Tests 1 function curveGrades(grades) { // YOUR CODE BELOW HERE // Create a function called curveGrades that increments each value in an Object by 10 3 for (i = 0; i += 12 10; After the loop return grades 13 14 Example Function Calls 15 16 var myGrades = { 17 spanish: 75, 18 biology: 90, 19 history: 88 20 } 21 22 curveGrades (myGrades); 23 | * --\ notunns Submit Run 24 Auto-Run OFF Reset
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
