In this video I'll show you a quick code readability tip I have picked up from a couple of years of experience. JavaScript has very flexible truthy and falsy values which are often used for boolean checks. My recommendation is to use the Boolean() interface to cast these values explicitly to true/false boolean values. This can improve code readability and help more inexperienced JavaScript developers understand the intent behind your code.
Social Media:
Email: [email protected]
Twitter: / nikelaz
LinkedIn: / nikola-lazarov