Skip to content

Commit 532bdaf

Browse files
committed
Merge pull request GitbookIO#70 from djpowers/patch-1
Update getAuthorFullName function to include space
2 parents cea99f8 + 4106e2e commit 532bdaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objects/properties.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var language = {
1111
},
1212
// Yes, objects can be nested!
1313
getAuthorFullName: function(){
14-
return this.author.firstName + this.author.lastName;
14+
return this.author.firstName + " " + this.author.lastName;
1515
}
1616
// Yes, functions can be values too!
1717
};

0 commit comments

Comments
 (0)