I constantly get this error. What could be the problem…
use avgTemperatures
instead of the all-caps one, you’re interested in the parameter captured by the function definition which in turn is passed by the function execution on line 14 sending the all-caps object from line 1.
1 Like