Yes! “||” will capture ALL falsy values listed in the article. Definitely something to be really mindful of. Thanks for sharing your example and emphasizing that point! Very important and a very common gotcha that can cause extreme headaches 😵
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.