texto dividido por nova linha JavaScript
myText.split(/\n/)
Frail Fox
myText.split(/\n/)
let string = "Hi\nHow are you?"
let newstrings = string.split("\n"); // [ "Hi", "How are you?" ]