The password is entered through the prompt. If the password is incorrect, then "the password is not correct." If it is correct, then "the password is correct."
function password(input) { if (input === '12345') { return "The password is correct" } else { return "The password is not correct" } } password('12345')