[jQuery] How to detect jQuery version?

[jQuery] How to detect jQuery version?


Wondering what an easy way to detect which version of jQuery is
running on a page. Is there a $.version property? Doing feature
detection based on deprecated methods probably wouldn't work well,
since they would still exist in some newer versions.