0

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?

Community
  • 1
  • 1
jd.
  • 4,057
  • 7
  • 37
  • 45

0 Answers0