Based on our record, JavaScript Operator Lookup seems to be more popular. It has been mentiond 1 time since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
If you replace your || with ?? You should get the behaviour you are after. This is a good reference for what the operators do in js: https://joshwcomeau.com/operator-lookup. Source: over 3 years ago
JavaScript.com - A free resource for learning and developing in JavaScript
Refactor.io - Share your code instantly for refactoring and code review
JavaScript Quiz - Check your knowledge by having fun.
CodeStream - CodeStream helps development teams resolve issues faster, and improve code quality by streamlining code reviews inside your IDE
dateDropper Javascript - The lightest and the most complete javascript date picker
Codebeat for iOS - Automated code review for iOS