this post was submitted on 19 Jun 2025
6 points (100.0% liked)
JavaScript
2418 readers
7 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's a condition, so it can fit in a ternary.