logo

Crowdly

Browser

Add to Chrome

What should getHumanChoice() return? Reference Code: function getHumanCh...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What should getHumanChoice() return?

Reference Code:

function getHumanChoice() {

  const choice = prompt("Enter rock, paper, or scissors:");

  return choice.trim().toLowerCase();

}

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.ncst.edu.bh?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome