Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 532bdaf

Browse files
Merge pull request #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)

AltStyle によって変換されたページ (->オリジナル) /