Travis build: 1389

This commit is contained in:
30secondsofcode
2018-01-24 12:24:04 +00:00
parent fed4fc3238
commit b643aa805a
3 changed files with 48 additions and 2 deletions

View File

@ -17,7 +17,7 @@ const freddy = {
user: 'fred',
greet: function(greeting, punctuation) {
return greeting + ' ' + this.user + punctuation;
},
}
};
const freddyBound = bindKey(freddy, 'greet');
console.log(freddyBound('hi', '!')); // 'hi fred!'