let volleyballgame = { update: function() { this.ignore = true; alert('revealing the tacit secrets!'); if(this.predismissal) { gobacktothestart(); } else { console.log('failed attempt, please try again.'); } }, ignore: false, predismissal: false, gobacktothestart: function() { console.log('restarting the game... but why ignore the essence of the game?'); } }; volleyballgame.update();