I'm trying to concatenate a string with a "\n" like this:
- Item 1
- Item 2
var msg: string = '';
msg += '- Campo NOME é obrigatório';
msg += "\n- Campo EMAIL é obrigatório";
But the output comes without the line break:
- Item 1 - Item 2
I searched a lot about it but I didn't find a solution. Could you please help me? :)