Condense arrays with reduce ....HELP i can't seem to understand this one

Condense arrays with reduce ....HELP i can't seem to understand this one
0

#1

Tell us what’s happening:

Your code so far

var array = [4,5,6,7,8];
var singleVal = 0;

// Only change code below this line.

singleVal = array;

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/601.6.17 (KHTML, like Gecko) Version/9.1.1 Safari/601.6.17.

Link to the challenge:


#2

What part are you not understanding? You have entered no code outside what was originally provided. Do you not understand how the reduce function works or the syntax of it? Read the MDN reduce documentation to see if this clears anything up.