SyntaxFix
Write A Post
Hire A Developer
Questions
Your quotes around the 0 make it a string, which is evaluated as true.
0
Remove the quotes and it should work.
if (0) console.log("ha")