All in the genes : Syntax Error Help


#1

I've gotten this far but can't figure out why I'm getting a syntax error:
"unexpected token ":" Parse error. Anyone have any ideas? Thanks

// create your Animal class here
function Animal (name,numLegs){
    this.name: name;
    this.numLegs: numLegs
};


// create the sayName method for Animal
Animal.prototype.sayName = function(){
    console.log("Hi my name is" + " " + this.name);
};

// provided code to test above constructor and method
var penguin = new Animal("Captain Cook", 2);
penguin.sayName();

#2

it has to be this.name = name;


#3

thank you!! ugh, the simplist of things. I missed that. I have it working now.