Sublime Forum

Sublime Console Log Line Break

#1

In my sublime text editor, how can I create line break for my console log?
PS: Build is Node.js

0 Likes

#2

The console.log function will add a newline character. You could move the call to console.log inside of the for-loop and log each intermediate number separately. You could then remove the txt variable.

0 Likes