Re:How to: code JavaScript using Twitter bootstrap best prac...
by kyllo on Monday May 05, 2014 @12:59PM
(#7699616)
I liked one of the responses to the SO thread:
http://stackoverflow.com/questions/3755606/what-does-the-exc...
This will also return the boolean opposite of the return value of the function, in this case true, because !undefined is true. If you want the actual return value to be the result of the call, then try doing it this way:
Why would you ever not want the actual return value of a function to be the result of calling that function?
[ Parent
| on HN ]
There are no comments on this comment yet.