What's the meaning of the numbers printed below the message of console.log?

前端 未结 1 369
太阳男子
太阳男子 2021-01-21 20:34

I\'m doing some testing in chrome debugger tool, I find some strange numbers are printed below the texts output by console.log:

I didn\'t log in the console, why are the

相关标签:
1条回答
  • 2021-01-21 21:29

    The Chrome console logs the value of the last expression executed. In the first example above, the last line, i++; logs 9. In the second example, i+=1; logs 10.

    0 讨论(0)
提交回复
热议问题