Execution Flow: Quiz I in {lang}
Quiz: What would this code produce if we were to copy-paste it in a code editor and run it?
function showWeather() {
}
console.log("It’s sunny!");
showWeather();
Options:
A: It would produce errors
A: It would print
It's sunny!two timesB: It would print nothing
D: It would print
It's sunny!
Important Note:
Do not use an actual code editor to get the answer! It would defy the whole purpose of the quiz!
Instructions:
Pick your answer and assign variable answer in the code editor with that answer.
For example, if you think the answer to the quiz is B, write let answer = "B"; in the code editor and press Validate Solution!.