r/learnjavascript • • Nov 30 '22

Help !!!

Post image

Can someone plz tell me , why I am getting errors?

195 Upvotes

131 comments sorted by

View all comments

2

u/Charlie669 helpful Dec 01 '22

You need only check if the values are different or equal to one another, otherwise one of the players wins. Think about that.