Hello,
Why is a function needed under the unlock function? The following doesn't work... why doesn't it?
Game.prototype.unlock = function() {
if (this.level === 42) {
console.log(this.name + " is blasting you with laser beams.");
}
}
...
robby.unlock();
rosie.unlock();