Jquery source code w problem

the jquery source code begins with the following code:

function (w) {

            if ( !w.document ) {
                throw new Error( "jQuery requires a window with a document" );
            }
            return factory( w );
        }

what does "w" mean here? Don"t you see any definition anywhere else?

May.03,2022

should mean window


is a self-executing function that passes in the global window

(function(w){
    // window
}(window))
Menu