diff --git a/objects/properties.md b/objects/properties.md index e5e0f12b..1581c5b4 100644 --- a/objects/properties.md +++ b/objects/properties.md @@ -11,7 +11,7 @@ var language = { }, // Yes, objects can be nested! getAuthorFullName: function(){ - return this.author.firstName + this.author.lastName; + return this.author.firstName + " " + this.author.lastName; } // Yes, functions can be values too! };