Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 51 Topic 6 Discussion

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 51 Topic 6 Discussion

JavaScript-Developer-I Exam Topic 6 Question 51 Discussion:
Question #: 51
Topic #: 6

Refer to the code below:

Function changeValue(obj) {

Obj.value = obj.value/2;

}

Const objA = (value: 10);

Const objB = objA;

changeValue(objB);

Const result = objA.value;

What is the value of result after the code executes?


A.

10


B.

Nan


C.

5


D.

Undefined


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.