I am going to try and do this as best as I can.
var myPrompt = prompt("Are you ready to go?");
if myPrompt == true {
console.log("Great, let's go.")
} else {
console.log("Hurry up, we don't have all night.")
};
The question is HOW do I pass the value from the above INTO a Boolean function that will do a while loop in the process?
I need to take the boolean value from the above and pass it along into a function that does a Boolean comparison against any other value. As the two are compared, I am doing a while loop until the comparison is satisfied.