Podcast Beta
Questions and Answers
The result of the add function is logged to the console using the ______ function.
console.log
In the getMeanTemp function, the sum of the temperatures is calculated using a ______ loop.
for
The global variable ______ will be removed from the code.
meanTemp
The day1 and day2 variables contain ______ data.
Signup and view all the answers
The getMeanTemp function takes one ______ for the temperatures.
Signup and view all the answers
The mean temperature is calculated by dividing the sum by the ______ of the temperatures array.
Signup and view all the answers
The getMeanTemp function is called with the ______ variable as an argument.
Signup and view all the answers
The second time the getMeanTemp function is called, it is passed the ______ variable as an argument.
Signup and view all the answers
The temperatures array is iterated over using a ______ variable.
Signup and view all the answers
The result of the getMeanTemp function is logged to the console using template literals.
Signup and view all the answers