List of questions
Related questions
Question 105 - Certified JavaScript Developer I discussion
Refer to the following object:
const cat ={
firstName: 'Fancy',
lastName: ' Whiskers',
Get fullName() {
return this.firstName + ' ' + this.lastName;
}
};
How can a developer access the fullName property for cat?
A.
cat.fullName
B.
cat.fullName()
C.
cat.get.fullName
D.
cat.function.fullName()
Your answer:
0 comments
Sorted by
Leave a comment first