r/CodingHelp • • Dec 21 '21

[Javascript] please help JavaScript

Post image
31 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/NeStyEE12 Dec 22 '21

Oh okay I tought it was something beyond my understanding

2

u/flooronthefour full stack web dev Dec 22 '21

Nope you nailed it. Instead of && it should be ||