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 4 Question 94 Discussion

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

Which two console logs output NaN?

Choose 2 answers | |

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Patrick
4 days ago
Options B and D, for sure! Trying to convert strings like 'two' and 'five' to numbers is just asking for trouble.
upvoted 0 times
...
Nickie
14 days ago
Hmm, let me think about this. I reckon options B and D are the ones that will give us NaN, right?
upvoted 0 times
...
Nicolette
16 days ago
Ooh, this is a tricky one! I'm going to go with options B and D, because 'two' and 'five' are definitely not valid numbers.
upvoted 0 times
...
Gracia
20 days ago
I think options B and D will output NaN, as they involve converting non-numeric values to numbers.
upvoted 0 times
Herminia
1 days ago
I agree, options B and D will output NaN.
upvoted 0 times
...
...
Charolette
21 days ago
I'm not sure, but I think option A and C also output NaN because dividing by 0 or a non-numeric value would result in NaN.
upvoted 0 times
...
Helene
23 days ago
I agree with Janae, because parseInt('two') and dividing by 'five' would result in NaN.
upvoted 0 times
...
Janae
25 days ago
I think option B and D output NaN.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77