Constructors in review


#1


https://www.codecademy.com/en/courses/spencer-sandbox/3/6?curriculum_id=506324b3a7dffd00020bf661#


Hello academy community,
How do I bring up describeMyself method


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");

// I tried doing this, it doesn't print into console
rabbit1.describeMyself;
rabbit2.describeMyself;
rabbit3.describeMyself;


#2

You should be calling describeMyself as follows:

rabbit1.describeMyself();
rabbit2.describeMyself();
rabbit3.describeMyself();

#3

Thanks!
It was very helpful


#4