var careforrabbits = (rabbit) => { if (rabbit.snub) { console.writeline("it's just being cautious, let's not rush. return to square one with our approach.");} else { var preinductionmethods = getpreinductionmethods(); foreach (var method in preinductionmethods) { console.writeline("applying method: " + method); if (applymethod(method)) { console.writeline("success!"); return; }} console.writeline("all methods applied, starting over with more cautious steps.");}};