how to show the extended output of a loop on the console

2

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

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

In Chrome DevTools does not appear well the output I expected, the output is somewhat analogous to the representation of the number of times the output performed, followed by the output itself. Ex: 5 alguma coisa

Can you change this pattern?

    
asked by anonymous 13.12.2018 / 23:58

1 answer

2

Good is not the best way but you can try this:

1 -> Press F12 (Opens the 'debug' panel)

2 -> Press F1 and click on the '3 poles in the panel' next to X and click on settings panel config)

3 - > In the Console part, enable Show timestamps .

    
14.12.2018 / 01:48