I'm looking through someone else's javascript when I came across the jQuery keyword used like this:
(function ($) {
    //stuff to do
})(jQuery);
jQuery(document).on('pageshow', function () {
    //call functions
});
what does the jQuery keyword exactly do? or am I reading this wrong and the word 'jQuery' is just an object that is returned from the script or something?
 
    