Javascript Typeerror Cannot Read Property Temp Of Undefined When

Javascript Typeerror Cannot Read Property Temp Of Undefined When