JS public static pattern
<p>Um. What are we achieving through this JS pattern? (taken from here: <a href="http://webreflection.blogspot.com/2011/11/few-javascript-patterns.html" rel="nofollow">link</a>) :</p>

<pre><code>// public static
function Person() {
    Person.TOTAL++;
}
Person.TOTAL = 0;
</code></pre>

<p>Because it seems we can just do:</p>

<pre><code>Person.TOTAL++;
</code></pre>
