If / Else / Switch returning the wrong results
问题 I'm making a Rock-Paper-Scissors-Lizard-Spock (Big Bang Theory, the tv show) using ReactJS and i'm facing some kind of abstract issue. switch (this.state.playerOnePick === 'Rock') { case((this.state.playerTwoPick === 'Scissors') || (this.state.playerTwoPick === 'Lizard')): return ( <div> <h1>Player One wins !</h1> <h2>P1: {this.state.playerOnePick} P2: {this.state.playerTwoPick}</h2> </div> ); break; case((this.state.playerTwoPick === 'Paper') || (this.state.playerTwoPick === 'Spock')):