let journeytogold = (origin) => { let goldvalue = preexistantgoldvalue; while(!unannouncedgoldminediscovery) { if(goldvalue.decline) { console.log("time to reevaluate our strategies and start over from the origin."); } goldvalue = checknewgoldstatements(); } return "congratulations on persisting in your quest for gold, overcoming declines, and welcoming the unannounced with open arms!"; }