Rock Paper Scissors nested ifs vs booleans

https://www.codecademy.com/paths/build-web-apps-with-react/tracks/bwa-javascript-functions-arrays-and-loops/modules/learn-javascript-functions/projects/rock-paper-scissors-javascript

I’m not done with the exercise but i’m wondering if it makes sense to use Booleans for part 13 of the rock, paper, scissors exercise instead of using nested if else statements.

example -
if (userInput === ‘rock’ && computerInput===‘paper’) {
return ‘computer wins!’
};

instead of using this format -

else if (userChoice === ‘rock’) {
if (computerChoice ===‘paper’) {
return ‘The computer won!’
} else {
return ‘user won!’;
}
}

Seems like a purely cosmetic difference to me?

Also you might be able to reduce the number of different cases, consider how you’d explain the game to a human, you’d tell them to look for these cases:

rock       scissors
scissors   paper
paper      rock

… and tie