Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7021117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:24:29+00:00 2026-05-27T23:24:29+00:00

It is said here: http://briancrescimanno.com/2009/09/24/how-self-executing-anonymous-functions-work/ Take a look at the source code of jQuery

  • 0

It is said here:

http://briancrescimanno.com/2009/09/24/how-self-executing-anonymous-functions-work/

Take a look at the source code of jQuery and you’ll see that the
whole library is wrapped in a single, self-executing function that is
assigned to the jQuery global object.

But since jQuery is GLOBAL object it does pollute global namespace or I miss something ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:24:30+00:00Added an answer on May 27, 2026 at 11:24 pm

    Having only one(two) variables in a global scope is not considered as pollution of the global scope. it’s like a namespace, it’s highly unlikely that other libraries will call their namespaces ‘jQuery’ (and more likely $). and even in that situations jQuery handles it gracefully by implementing noConflict function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It is said here http://code.google.com/intl/ru-RU/webtoolkit/tools/gwtdesigner/quick_start.html that one should Choose an appropriate panel type for
It is said here: http://msdn.microsoft.com/en-us/library/aa211599%28v=office.11%29.aspx Before the procedure will run, you must connect the
It is said here: http://msdn.microsoft.com/en-us/library/ms753358.aspx Sometimes, the typical technique of backing your property with
It is said here: http://msdn.microsoft.com/en-us/library/cc903925(VS.95).aspx Silverlight does not support dynamic resources. All resource references
It is said here: http://www.ibm.com/developerworks/web/library/wa-dbdsgn2.html Each table in the DB should have a history
How can i call perspectiveM static method in Matrix class? As said here: http://developer.android.com/reference/android/opengl/Matrix.html
It is said here http://msdn.microsoft.com/en-us/library/fa13yay7%28v=VS.90%29.aspx (see also http://msdn.microsoft.com/en-us/library/s4wcexbc%28VS.90%29.aspx ) Use this option if you
It is said here: http://msdn.microsoft.com/en-us/library/ff921087.aspx
It is said here http://msdn.microsoft.com/en-us/library/ee817669.aspx#observerpattern_topic3a This permits a subject to notify a potentially infinite
I got code for the aho-corasick algorithm here: http://www.komodia.com/aho-corasick . I used it as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.