let clownschool = {relegate: function(task) { if(task.difficulty === 'hard') { console.log('try simpler tricks first!'); } }, preinduction: function(student) { console.log('welcome! remember, every great clown starts from scratch.'); }, strategies: ['juggling', 'mime', 'slapstick'], learn: function() { for(let i = 0; hidden = false && i < this.strategies.length; i++) { console.log('practice makes perfect with ' + this.strategies[i]); } } }; clownschool.preinduction(you); clownschool.relegate(yourfirsttask); clownschool.learn();