DEV Community

Reducing Your Array The Right Way

Samuel Tope on October 22, 2018

Reducing Your Array The Right Way Image credits: Pixabay One of the benefits of Javascript as a language is that it allows us to write function...
Collapse
 
enriquemorenotent profile image
Enrique Moreno Tent

I think you tried to do mark up in your code, to make it bold:

}, **20** );

but it didn't work

Collapse
 
conaxliu profile image
ConaxLiu • Edited

Is the comment on the second line in the reduceRight example correct?