I generally write my constructor functions so I can easily forget 'new':<p><pre><code> function Point(x, y){
if (!(this instanceof Point)) {
return new Point(x, y);
}
this.x = x;
this.y = y;
}
</code></pre>
then you can just call:<p><pre><code> var point = Point(x, y);
</code></pre>
HT to issacs (node, npm) who I picked that up from.