View all questions & answers for the JavaScript-Developer-I exam
Refer to the following code:
function test (val) {
If (val === undefined) {
return ‘Undefined values!’ ;
}
if (val === null) {
return ‘Null value!’;
}
return val;
}
Let x;
test(x);
What is returned by the function call on line 13?
Submit