HI all.
Can some kind heart explain this line of javascript code to me please.
Am I right in thinking FOO will = 1 if foo = 0 and FOO will = 0 if foo = 1??Code:FOO = (foo==1) ? 1 : 0;
HI all.
Can some kind heart explain this line of javascript code to me please.
Am I right in thinking FOO will = 1 if foo = 0 and FOO will = 0 if foo = 1??Code:FOO = (foo==1) ? 1 : 0;
Ah ha!
Thankyou kindly
and people say perl is unreadable
Bookmarks