@wallhackio Why would you ever write any of the above two options instead of if (!x)? Asking as a C programmer. Are there any situations where these do different things?
@vaporeon_ might not be an issue if you have runtime type checking before the query, or if your JavaScript is compiled/transpiled from TypeScript, or if you have extensive confidence in your software testing
@wallhackio @vaporeon_ fuck the typescript compiler i just wanna run my actual js directly
@wallhackio @vaporeon_ or if you lint your js with typescript, the only actually good use fur typescript