var Person = function() {
this.work = function (quote) {
console.log(quote);
};
};
var developer0 = new Person()
, developer1 = new Person()
, developer2 = new Person();
var designer0 = new Person();
var manager0 = new Person();
var chief0 = new Person();
for (var week = 0; week < 5; week++) {
for (var weekDay = 0; weekDay < 30; weekDay++) {
developer0.work("working...");
developer1.work("working...");
developer2.work("working...");
designer0.work("move this 'div' 1px to right.");
manager0.work("that's nice.");
}
chief0.work("this is not what I mean.");
}
by byung