How to create an Custom Object with a Custom Object?
<p>In Javascript how would I create a Custom Object that has a property this is another Custom Object.
For Example.</p>

<pre><code>function Product() {
    this.prop1 = 1;
    this.prop2 = 2;
}


function Work(values) {
    this.front = values.front || "default";
    this.back = values.back || "default";
    this.product =  Product;
}

var w = new Work();
alert(w.product.prop1); //no worky
</code></pre>
