'0' && ('0' == false)
// true
We’ll just have to agree to disagree, javascript.
{: .space}
Update: this is what I mean by “truthy” and “falsy”:
function truthy(x) { return !!x; };
function falsy(x) { return !x; };
Jun 08 2010
by Sam Clearman
'0' && ('0' == false)
// true
We’ll just have to agree to disagree, javascript.
{: .space}
Update: this is what I mean by “truthy” and “falsy”:
function truthy(x) { return !!x; };
function falsy(x) { return !x; };
Posted by
Sam Clearman- June 8th, 2010