You are developing an HTML5 web application that displays the current temperature whenever a button is
clicked.
The following code provides this functionality.
When the temperature is loaded, the status propertyon the loader instance does not change.
You need to ensure that the status property on the loader instance is updated when the temperature is
loaded.
Which code segment should you use to replace the Loader function?
Explanation:
see this