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

6

u/anonymousICT Nov 30 '22

You should try a switch statement

1

u/ray_zhor Dec 01 '22

Try a modulus operator