Online Access Free JS-Dev-101 Exam Questions

Exam Code:JS-Dev-101
Exam Name:Salesforce Certified JavaScript Developer - Multiple Choice
Certification Provider:Salesforce
Free Question Number:149
Posted:Jul 19, 2026
Rating
100%

Question 1

Which two console logs output NaN?

Question 2

Which two code snippets show working examples of a recursive function?

Question 3

Refer to the code below:
01 let first = 'Who';
02 let second = 'What';
03 try {
04 try {
05 throw new Error('Sad trombone');
06 } catch (err) {
07 first = 'Why';
08 throw err;
09 } finally {
10 second = 'When';
11 }
12 } catch (err) {
13 second = 'Where';
14 }
What are the values for first and second once the code executes?

Question 4

Why does second have access to variable a?

Question 5

Refer to the following code:
01 let obj = {
02 foo: 1,
03 bar: 2
04 }
05 let output = []
06
07 for (let something of obj) {
08 output.push(something);
09 }
10
11 console.log(output);
What is the value of output on line 11?

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.