20/30 The code passes through, but I keep getting the error message



The console says 2, but I keep getting the message: Oops, try again. Make sure to properly define the Emperor constructor!

function Penguin(name) {
    this.name = name;
    this.numLegs = 2;

// create your Emperor class here and make it inherit from Penguin
function Emporer(name) {
    this.name = name;

Emporer.prototype = new Penguin();
// create an "emperor" object and print the number of legs it has

var emporer = new Emporer("James Hollingsworth");




spelling Emperor right is very important