Is this supposed to not print anything?


#1

Here is my code. I passed, but wondered if it was supposed to not print anything.
function Rabbit(adjective) {
this.adjective = adjective;
this.describeMyself = function() {
console.log("I am a " + this.adjective + " rabbit");
};
}

// now we can easily make all of our rabbits
var rabbit1 = new Rabbit("fluffy");
var rabbit2 = new Rabbit("happy");
var rabbit3 = new Rabbit("sleepy");


#2

No, it isn't. Since it's weird, I put this:

console.log( "Rabbit the First was " + rabbit1.adjective + ".");
console.log( "Rabbit the Second was " + rabbit2.adjective + ".");
console.log( "Rabbit the Third was " + rabbit3.adjective + ".");

It will print everything about it. :smiley:


#3

Oh. Good. I wasn't sure if I was doing something wrong...