Class variable in javascript class
<p>The solution to this <a href="http://stackoverflow.com/questions/84716/is-there-a-better-way-to-create-an-object-oriented-class-with-jquery" rel="nofollow" title="question">question</a> suggested the use of John Resig's class implementation. This solution covers all my needs except:</p>

<p>How to declare a public global variable inside this class that can be accessed from outside?</p>

<p>I would like to establish something like the following:</p>

<pre><code>    var MyClass = Class.extend({

        EVENT_NAME : 'event-name',

        init : function() {
            // ...
        }

    });

// Now another file can directly read this value without creating the class object
console.log( MyClass.EVENT_NAME );
</code></pre>
