I have a very simple JS code as below;
var Worker = function (name) { this.name = name; } Worker.prototype.jobs = 0; Worker.prototype.Work = function () {