Modul 17 von 18 · Medien
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.