javascript – how to display the output by a repeating loop in the console

I have a very simplistic example of code. Follow Ex:

(var i = 0; i <5; i ++) {}
console.log ("something");
}

in Chrome DevTools the output that was expected does not appear well, the output is something similar to the representation of the number of times the result was executed, followed by the output itself. ex .: 5 things

How to change this pattern?