Question: var game = { firstopponent: serena williams , firstopponentscore: 2 , secondopponent: garbine muguruza , second opponent score: 0 , get winne ( ) {
var game firstopponent: serena williams firstopponentscore: secondopponent: garbine muguruza second opponent score: get winne if thisfirstopponentscore this.secondopponentscore return this.first opponent; else if thissecondopponentscore this.firstopponentscore return this.secondopponent; else return tie ; ; the code below outputs serena williams console.loggamewinner; group of answer choices true false
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
