object syntax and this in javascript
<p>if i create an object using {} and then try to reference a property, how would i do it? </p>

<pre><code>function Person(){
    this.name : "test";
   }

   var x = new Person();
   alert(x.name);
</code></pre>
