function Animal (name, age) { this.name = name; this.age = age; this.speak = function(){ console.log(`hello ${this.name}`) } } cholo = new Animal("cholito", 5) cholo.speak()