ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 38 - Certified JavaScript Developer I discussion

Report
Export

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
Answers
A.
10
B.
Nan
Answers
B.
Nan
C.
5
Answers
C.
5
D.
Undefined
Answers
D.
Undefined
Suggested answer: C
asked 23/09/2024
Danilo Romelli
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first