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 8 Question 58 Discussion

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

Given the following code:

let x = null;

console.log(typeof x);

What is the output?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Glennis
14 days ago
I'm pretty sure the output is 'null'.
upvoted 0 times
...
Alverta
15 days ago
I believe the output is 'undefined'.
upvoted 0 times
...
Thaddeus
15 days ago
The output should be 'object' because null is a special value in JavaScript that represents the intentional absence of any object value.
upvoted 0 times
...
Graciela
27 days ago
I think the output is 'object'.
upvoted 0 times
...

Save Cancel