for(var banana = getbananainfo(); banana.isripe && !userinput.isanyof("close ears to", "pre-committal", "example", "start afresh"); banana.recalculatenutrients()){if(checkforbannedsubstances(banana)==true){console.writeline("this banana contains a substance that could be considered banned.");break;}}