I've noticed some sites use this method as a backup source if Google's hosted jquery fails to load. I copied it too, and am now curious about the syntax:
window.jQuery || document.write('<script src="/js/jquery.min.js"><\/script>');
As I understand it, if jQuery is false or undefined, then write out a script to load jquery locally.
What I'm unsure of is, what is the point of the \
in the closing script tag? what is there to escape?
Thanks!