Piirrä syntyneet oliot ja niiden väliset linkitykset seuraavan
ohjelman suorituksen aikana numeroiduissa kohdissa (12 pistettä):
function Employee () {
this.name = "NN";
this.dept = 0;
}
function WorkerBee () {
this.report = "-";
}
///// kohta 1 /////
WorkerBee.prototype = new Employee();
///// kohta 2 /////
var mark = new WorkerBee()
mark.name = "Mark"
mark.dept = 12
///// kohta 3 /////
function Engineer () {
this.dept = "engineering";
this.machine = "comp";
}
Engineer.prototype = new WorkerBee();
var jane = new Engineer()
jane.report = "spec"
///// kohta 4 /////