Why does it show the sentence like this?

In JS console the code should be outputted with sentences, not just a number like this
How can I make it so that it would display the sentences, not just a number next to it?

I imagine that people will need a lot more context and sample code to be able to help.

Do you want each log on a new line?

You can add an empty string log after the first log, or use console.count.

for (let i = 0; i < 5; i++) {

Maybe someone knows a better way?

Thanks I found that if its a just a string it will output it just with numbers beside it, if its a string plus a varible name it will outputed like a list. For example like image
output image


The output will be like this image