js-mentorship-razvan / javascript

Javascript study notes
GNU General Public License v3.0
22 stars 2 forks source link

Solve 'this is a problem' #321

Closed odv closed 5 years ago

odv commented 5 years ago

https://www.codewars.com/kata/this-is-a-problem/train/javascript

RazvanBugoi commented 5 years ago
function NameMe(first, last) {
    this.firstName = first;
    this.lastName = last;
    this.name = this.firstName + ' ' + this.lastName;
}