Comment Comment by wiseowise ``` > if ("0") console.log("true");true ```Excuse me?> In a logical world, a non-empty string being truthy is fine even if the value is "false". Javascript isn't logical.You must hate our illogical world built on C, because it has the same behavior. parent wiseowise 1 year ago
true ```
Excuse me?
> In a logical world, a non-empty string being truthy is fine even if the value is "false". Javascript isn't logical.
You must hate our illogical world built on C, because it has the same behavior.