Possible Duplicate:
What is the !! operator in JavaScript?
Seen in jQuery's ajax.js file (look near the bottom).
jQuery.support.ajax = !!jQuery.ajaxSettings.xhr();
What does !!
do? Isn't a double negative useless?
Possible Duplicate:
What is the !! operator in JavaScript?
Seen in jQuery's ajax.js file (look near the bottom).
jQuery.support.ajax = !!jQuery.ajaxSettings.xhr();
What does !!
do? Isn't a double negative useless?