class Person
{
constructor(firstName)
{
this.firstName = firstName
}
}
class Thing
{
constructor()
{
this.addProperty = "firstName";
}
}
_.extend(Person.prototype, Thing.property);
const p = new Person("james");
console.log(p.addedProperty);