diff --git a/somedoe.js b/somedoe.js index a3963d7..69eb9d7 100644 --- a/somedoe.js +++ b/somedoe.js @@ -1,9 +1,9 @@ var person = { - firstName: "john", - lastName : "doe", + name: "John", + lastName : "Doe", id : 5566, fullName : function() { - return this.firstName + " " + this.lastName; + return `${this.name} ${this.lastName}`; } };