+ 2
The variable for the computer's choice is rand, not computer.
+ 2
In lines 9 and 12 replace all occurrences of "computer" with "rand".
+ 1
And in line 9 you should use parentheses to group the conditions.
+ 1
if((user === "rock" && rand === "scissors") || (user === "paper" && rand === "rock") || (user === "scissors" && rand === "paper"))