rock paper scissors javascript code doesnt work. I made this as my first project and i dont know at all why it doesnt work
function playRound(playerSelection, computerSelection) { if (playerSelection == computerSelection) { console.log("its a tie") } else if (playerSelection == "rock" && computerSelection == "paper") { return "you lose" } else if (playerSelection == "rock" && computerSelection == "scissors") { return "you win"…