access object property from object method in javascript
<p>I have something like</p>

<pre><code>var foo = function(arg){
  var something = {
    myPropVal: "the code",
    myMethodProp: function(bla) {
      // do stuff with mypropval here
      alert(this) // =&gt; DOMWindow
    }
  }
}
</code></pre>

<p>is this possible? can i access the contents of myPropVal from within myMethodProp given the</p>
