The exercise is:
Create function, that takes a string and returns string. Every second word should have added new line character "\n".
For example
let stringToParse = `How good is have account on and create new posts` let result = "How good is have account on StackOverflow and create new postsPlease place your answer (in any language) in comments section.
Brak komentarzy:
Prze艣lij komentarz