How do you create a property for a custom object in JavaScript?
<p>I know I can create function for custom object like </p>

<pre><code>var newObj = {
    myFunc1: function () {
        alert('hello');
    },
 myFunc2: function () {
        alert('hello');
    }
}
</code></pre>

<p>Now how  can I create a new property so that i can set that property in myFunc1 or myFunc2 and and then latter on use it by doing newObj.myProperty.</p>
