Podcast
Questions and Answers
The result of the add function is logged to the console using the ______ function.
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.
In the getMeanTemp function, the sum of the temperatures is calculated using a ______ loop.
for
The global variable ______ will be removed from the code.
The global variable ______ will be removed from the code.
meanTemp
The day1 and day2 variables contain ______ data.
The day1 and day2 variables contain ______ data.
The getMeanTemp function takes one ______ for the temperatures.
The getMeanTemp function takes one ______ for the temperatures.
The mean temperature is calculated by dividing the sum by the ______ of the temperatures array.
The mean temperature is calculated by dividing the sum by the ______ of the temperatures array.
The getMeanTemp function is called with the ______ variable as an argument.
The getMeanTemp function is called with the ______ variable as an argument.
The second time the getMeanTemp function is called, it is passed the ______ variable as an argument.
The second time the getMeanTemp function is called, it is passed the ______ variable as an argument.
The temperatures array is iterated over using a ______ variable.
The temperatures array is iterated over using a ______ variable.
The result of the getMeanTemp function is logged to the console using template literals.
The result of the getMeanTemp function is logged to the console using template literals.
Flashcards are hidden until you start studying