Whats the difference between \r and \n

Tell us what’s happening:
whats the difference between \r and \n

Your code so far

var myStr = "FirstLine

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36

Challenge: Escape Sequences in Strings

Link to the challenge:

Did you try searching for this question?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.