The password is entered through the prompt. If the password is incorrect, delete the body and say "the password is incorrect." If the password is correct, then "the password is correct."
function guessPassword(password){ if(password === "123456"){ console.log("The password is correct") }else { console.log("The password is incorrect") } } guessPassword("123456")