OO Javascript .prototype
<pre><code>function Engineer (name, projs, mach) {
    this.base = WorkerBee;
    this.base(name, "engineering", projs);
    this.machine = mach || "";
}
Engineer.prototype = new WorkerBee;

var jane = new Engineer("Doe, Jane", ["navigator", "javascript"], "belau");
</code></pre>

<p>This is from a Mozilla example page. Why are there no parentheses for new new WorkerBee?
And if the WorkerBee constructor had arguments do we need to pass them in this line to?</p>

<pre><code>Engineer.prototype = new WorkerBee(BaseClassConstructorArgument1,2...)
</code></pre>

<p>I had this issue:
JS Hint: Missing '()' invoking a constructor.</p>

<p>So I am wondering now, how the clean solution would look like.</p>
