What is the best way of defining a class in javascript
<p>I have searched for a way of defining a class in javascript like in java or php but I found none!</p>

<p>I want something like</p>

<pre><code>class javascriptClass {

       function someFunction(){}

}
</code></pre>
