SyntaxFix
Write A Post
Hire A Developer
Questions
In ES6 you can also
let [first, ...second] = str.split(" ") second = second.join(" ")