Found this great article → https://www.trevorlasn.com/blog/javascript-logical-operators This is a small and useful snippet that makes it very clear on when to use ?? and when to use || // Let's see what || considers "falsy": 0 || "default" //...
Markdown supported · ⌘↵ to post
No responses yet.