Hi,campers ,I got stuck in this challenge ,I don’t know why is does not pass ,beacuse when I output the tests in the console ,everything is correct .
var Person = function(firstAndLast) {
// Complete the method below and implement the others similarly
var FirstName="Bob";
var LastName="Ross";
this.getFirstName = function() {
return FirstName;
};
this.getLastName = function() {
return LastName;
};
this.getFullName = function() {
return FirstName+" "+LastName;
};
this.setFirstName=function(a) {
return FirstName=a;
};
this.setLastName=function(c) {
return LastName=c;
};
this.setFullName = function(fullName) {
return fullName;
};
};
var bob = new Person('Bob Ross');
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/make-a-person/
please give me a hand .