List of questions
Related questions
Question 89 - Certified JavaScript Developer I discussion
Refer to the following code:
function test (val) {
If (val === undefined) {
return 'Undefined values!' ;
}i
f (val === null) {
return 'Null value! ';
}
return val;
}
Let x;
test(x);
What is returned by the function call on line 13?
A.
Undefined
B.
Line 13 throws an error.
C.
'Undefined values!'
D.
'Null value!'
Your answer:
0 comments
Sorted by
Leave a comment first