Ad
Code
Diff
  • const helloWorld = n => (n.split("5 ")+' Hello')
    .split(" ")
    .reverse()
    .join(" ")
    
         helloWorld("Helloworld");
    • helloWorld = n => (n.split(" ")+' Hello')
    • const helloWorld = n => (n.split("5 ")+' Hello')
    • .split(" ")
    • .reverse()
    • .join(" ")
    • helloWorld("Helloworld");