DEV Community

Discussion on: 70 JavaScript Interview Questions

Collapse
 
kotikspb profile image
kotik-spb

Hi! Many thanks for the article, it's really very useful)))
And one thing in Question 31:
const result = strs.reduce((acc, currentStr) => acc + str, "");
I suppose you mean "currentStr" instead of "str" ;)

Collapse
 
macmacky profile image
Mark Abeto

I edited it just now. Thanks.