How do you use N in JavaScript?

In JavaScript, the \n symbol stands for the newline character. If we need to print words in different lines on the console, we can use \n inside the string to introduce the line break . Example: let str = “This is in line 1.

Sizin İçin Seçtik  How many days will it take to learn JavaScript?

Leave a Reply

Your email address will not be published. Required fields are marked *