Q:

jQuery Module pattern not named | How is '$' accessible?

Here is the jQuery latest.
It is wrapped in a anonymous immediately invoked function expression ( aiife )
(function( window, undefined ) {
    // all jQuery code
})( window );

How do you access the $ sign , the alias of for jQuery that is so popular?
I thought you needed a name to access if you were going to access something?

A:

window object is enough to make a variable accessible. It's basically global object, the scope of executing page. For that reason, you are able to do something like this:
window.test = 'hello!';
alert(test);

A:

The answer is in these lines:
// Expose jQuery to the global object
window.jQuery = window.$ = jQuery;

In other words, both jQuery and $ are defined as properties of global object. Which make them accessible as they are - by jQuery and $. )

