title: How to take in 2 inputs and give out one output?
body: <p>This is my code for rock paper scissors. In the if statement, I'm trying to take in 2 inputs to produce one output. How can I do this?</p>
  <pre><code>//rock paper scissors
  const rock = 1
  const paper = 2
  const scissors = 3
  var player_choice = console.log(Number(prompt(&quot;Rock-1, Paper-2, Scissors-3&quot;)))
  var computer_choice = (Math.random())
  var actual_computer_choice = Math.ceil(computer_choice)
  
  if (actual_computer_choice==player_choice) {
    console.log('Draw')
  }
  
  if (actual_computer_choice==1) (player_choice==2);
    console.log(&quot;Computer chose rock. Human chose paper. Human Wins!&quot;)
  
  if (actual_computer_choice==2) and (player_choice==1);
    console.log(&quot;Computer chose paper. Human chose rock. Computer Wins!&quot;)
  
  if (actual_computer_choice==3) and (player_choice==1);
    console.log(&quot;Computer chose scissors. Player chose rock. Player Wins!&quot;)
  
  if (actual_computer_choice==1) and (player_choice=3);
    console.lop(&quot;Computer chose rock. Player chose scissors. Computer Wins!&quot;)
  
  if (actual_computer_choice==2) and (player_choice=3);
    console.log(&quot;Computer chose paper. Player chose scissors. Player Wins!&quot;)
  
  if (actual_computer_choice==3) and (player_choice=2);
    console.log(&quot;Computer chose scissors. Player chose paper. Computer Wins!&quot;)
  
  </code></pre>