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  What is JS constructor?

Leave a Reply

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