You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the return value is null. The null value is not part of Source, so this leaves a weird hole in the specs. I propose to return undefined, so that student can write:
const answer = prompt("What is your answer?");
if (answer === undefined) { .... } else { ... }