this post was submitted on 28 Oct 2024
6 points (100.0% liked)

JavaScript

2237 readers
1 users here now

founded 2 years 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
[–] [email protected] 3 points 4 months ago

The post talks about how to avoid ifs ;)