title: Javascript Object Literal - calling
body: <p>What's the way of calling the property within the method of the specific object - here's an example:</p>
  
  <pre><code>var myObject ={
      firstProperty : 0,
      secondProperty : 0,
      myMethod : function(){
           // this is where I'm not quite sure
            $(this).firstProperty = 1;
      }
  }
  </code></pre>
  
  <p>I'm sure <strong>$(this).firstProperty = 1</strong> is wrong - but how would I call the property within the method of the object (self, this etc.)?</p>