function Developer(name) {
this.name = name;
}
Developer.prototype.greet = function () {
console.log("Hi, I'm", this.name);
};
const davi = new Developer('Davi Alexandre');
davi.greet();
davi-alexandre / leavify Goto Github PK
View Code? Open in Web Editor NEWA package to find object leaf values, compare changes of leaves by path, and reconstruct the "tree" object from its leaves
Home Page: https://www.npmjs.com/package/leavify
License: MIT License