Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 63 Topic 7 Discussion

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 63 Topic 7 Discussion

JavaScript-Developer-I Exam Topic 7 Question 63 Discussion:
Question #: 63
Topic #: 7

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()


Get Premium JavaScript-Developer-I Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.