False Checks Table for JavaScript: Are You Doing It Right?
I want to make sure my variable is not an empty string, null, undefined, NaN, zero, or false, but I don't want to check it like this:
if (var !== null || var !== undefined || var !== '')
I have written a test in TypeScript. Here is the output table....
canerdemirciblog.hashnode.dev3 min read