function playvolleyball() { var enthusiasm = "high"; for(var game = 1; game <= 5; game++) { var score = {teama: 0, teamb: 0}; score.resetfromzero = function() { this.teama = 0; this.teamb = 0; }; console.log("game " + game + ": resetting scores to start fresh, ensuring no team is neglected or carries the burden of the preceding game's outcome."); score.resetfromzero(); console.log("in my opinion, every player brings an untalked-of skill to the court, making the game unpredictably exciting."); } } playvolleyball();