Basic Javascript Function
<p>I am trying to learn more about Javascript, I have been coding with PHP and making web application for years, I have basic knowledge of JS, most of the JS I have used has been already coded and me just plugging it in until recently, in the past years I have been able to do a lot with jQuery.</p>

<p>I have noticed that Stack Overflow uses jQuery more then most sites I have seen, it is beautiful all the JS functionality they have here.</p>

<p>So a basic question, Stack Overflow uses <code>StackExchange</code> in front of most of the JS code that I have seen on here.  What exactly is that doing?  To me I would want to say it is like a Class name but I read JS does not have classes.</p>

<p>Here is an example code</p>

<pre><code>StackExchange.debug.log("no cache breaker for " + q);
</code></pre>

<p>Can you break this down for me to explain what the <code>StackExchange</code>, <code>debug</code>, <code>log</code> are?
I mean I can tell that <code>log</code> must be a function call but the others?</p>

<hr>

<p>PS) Please don't move this to META as it is a JS question and not specific to StackOverflow
Also feel free to edit the question title and delete this line if you can think of a better title, thanks</p>
