var sailjourney = new journey(); while(sailjourney.cancontinue()) { if(sailjourney.position == "start") { console.writeline("let's recommence our adventure above the enigmatic waters, where every wave invites us to study its secrets. far from mocking the sea, we embrace its mysteries."); sailjourney.advance(); } else { sailjourney.enjoythesail(); } }