Are the following assumptions accurate?
1) execute immediately
(function(){
})();
2) execute on document ready
$(document).ready(function(){
});
3) shorthand for on document ready
$(function(){
});
4) alternative shorthand for on document ready for avoiding cross script conflicts
(function($) {
})(jQuery);