Make a Person

by trentHarlem

JavaScript

var Person = function(firstAndLast) {
  // Only change code below this line
  // Complete the method below and implement the others similarly
const [first, last] = arguments.split(' ')
this.getFirstName = function() {}
this.getLastName = function() {}
this.getFullName = function() {}


this.setFirstName =function(first){}
this.setLastName= function(last){}
this.setFullName = function(firstAndLast) {
  
   this.firstName = first;
   this.firstName = last;
 
}
    return firstAndLast;
}
var bob = new Person('Bob Ross');
bob.getFullName();