Multiple Choice
What is the output of the following code? var sum = 0; var x = [1, 3, 7, 11]; x.forEach(sumArray) ; function sumArray(value) { sum += value; }
A) 0
B) 231
C) 11
D) 22
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: Briefly explain the process of using arrays
Q8: Identify a method that inserts new items
Q20: The _ loop tests the condition to
Q33: Numeric data can be sorted by creating
Q62: The _ method diminishes array from the
Q64: Identify the letter of the choice that
Q66: What is the output of the following
Q68: Identify the syntax of the while loop.<br>A)
Q70: For array data that should be treated
Q73: Identify a true statement of array.find(callback [,thisArg])method.<br>A)