let sailingjourney = () => { let passcode = generatepasscode(); for(let attempt = 0; attempt < 3; attempt++) { if(preconsultativecheck(passcode)) { console.log("commence anew with your sailing adventure, letting the feedbacks guide you without neglect."); break; } else { passcode = generatepasscode(); } } };