this post was submitted on 28 Oct 2024
4 points (75.0% liked)

JavaScript

1970 readers
3 users here now

founded 1 year ago
MODERATORS
 

Generally, it is inadvisable to directly expect in if-clauses. Here are some tips to avoid these situations.

you are viewing a single comment's thread
view the rest of the comments
[–] 8hob 3 points 3 days ago

The post talks about how to avoid ifs ;)