Medium-EasyRememberJavaScript & TypeScriptmultiple_choice

What does `Array.prototype.reduce()` return when called on an empty array without an initial value?

Remember Tests recall of fundamental facts and definitions.

Answer Options

Aundefined
Bnull
C0
DTypeError

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 20+ more JavaScript & TypeScript questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the JavaScript & TypeScript topic (Programming Languages).

More JavaScript & TypeScript Questions