From 4106e2eceb8465446593787d0c767dcb7c72e3c4 Mon Sep 17 00:00:00 2001 From: Dave Powers Date: Wed, 1 Oct 2014 23:42:54 -0400 Subject: [PATCH] Update getAuthorFullName function to include space Add space between first and last name to match format as taught in "Strings - Concatenation" chapter, and for readability --- objects/properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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! };