GoConqr has a new look! Let us know what you think.

Module 17 of 18 · Media

Assemble a string

Kostas Diakogiannis

Assemble a string

A-9 Assembling a string with reduce

Given that you have an array of words together like that:

let myQuote = ['it', 'is', 'Friday', 'and', 'i', 'am', 'already', 'exhausted', 'to', 'think', 'of', 'a', 'better', 'quote'];

Try to create a single unified string but by using the array's reduce function.

Try to use all array's elements to assemble the string from the beginning.

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?