Diwakardiwakarkashyap.hashnode.dev·Jul 24, 2023Truthy and Falsy in JavascriptIn JavaScript, a truthy value is a value that is considered true when encountered in a Boolean context. All values are truthy unless they are defined as falsy (i.e., except for false, 0, -0, 0n, "", null, undefined, and NaN). Truthy values include: ...10 likes·36 readsjavascript truthy and falsyAdd a thoughtful commentNo comments yetBe the first to start the conversation.