ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 113 - Certified JavaScript Developer I discussion

Report
Export

Refer to following code block:

Let array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,];

Let output =0;

For (let num of array){

if (output >0){

Break;

}i

f(num % 2 == 0){

Continue;

}

Output +=num;

What is the value of output after the code executes?

A.
16
Answers
A.
16
B.
36
Answers
B.
36
C.
11
Answers
C.
11
D.
25
Answers
D.
25
Suggested answer: A
asked 23/09/2024
Alan Coutinho
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first