+ 2

line feed with Javascript

Hey ! šŸ˜‰ I have a problem : I cannot do line feed with Javascript in the Javascript console; I tried \n, \r but nothing happen... Can U help me? Thank's !

19th Dec 2017, 1:41 PM
Audrey
Audrey - avatar
3 Answers
+ 8
You can specify your question more specifically if you have the mind "how to make a line pass" here is the alert method ("hello\nworld"); https://www.w3schools.com/jsref/jsref_regexp_newline.asp
19th Dec 2017, 1:55 PM
James16
James16 - avatar
+ 2
Every console.log call is new line console message.
19th Dec 2017, 1:54 PM
CalviÕ²
CalviÕ² - avatar
+ 2
Thank you i did think about it !
19th Dec 2017, 2:01 PM
Audrey
Audrey - avatar