Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Javascript Developer I Topic 4 Question 85 Discussion

Actual exam question for Salesforce's Javascript Developer I exam
Question #: 85
Topic #: 4
[All Javascript Developer I Questions]

Refer to code below:

function Person() {

this.firstName = 'John';

}

Person.prototype ={

Job: x => 'Developer'

};

const myFather = new Person();

const result=myFather.firstName + ' ' + myFather.job();

What is the value of the result after line 10 executes?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Gracia
4 days ago
I think the value of the result is D) John Developer.
upvoted 0 times
...

Save Cancel