"function reverseString(str) {\n    let reversedString = ;\n    str.split().forEach(char => reversedString = char + reversedString);\n    return reversedString;\n}"
Write a JavasScript program to reverse all of the words in a given string?