If this code is executed and the user types "42" then clicks "OK", what is the type of userInput?
let userInput = prompt("Enter your favorite number:");
If this code is executed and the user types "42" then clicks "OK", what is the type of userInput?
let userInput = prompt("Enter your favorite number:");