function Animal(name) { this.name = name; this.canWalk = true; this.draw = function () { } } var animal = new Animal("ёжик");