Notifications
Clear all

firstName:

1 Posts
1 Users
0 Likes
90 Views
(@tivisantwan)
Posts: 716
Noble Member
Topic starter
 

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

Show Answer Hide Answer

Suggested Answer: A
 
Posted : 02/02/2023 1:39 pm

Latest Salesforce JavaScript Developer I Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: