What are the characters that appear under a value entered into the Chrome console?

别来无恙 提交于 2019-12-24 19:48:14

问题


When I paste a value into the Chrome console, Chrome adds a line below with a negative number.

At first I thought it related to the value, which exists in the document. However, as I back out each character the value underneath changes and then disappears. If I replace the later characters the value changes incrementally.

There's no tooltip or context menu on the line.

What the heck is that?


回答1:


It's the result of your calculation, Chrome thinks you're calculating..

001 minus 984 minus 52




回答2:


It's called Eager Evaluation, new in Chrome 68.



来源:https://stackoverflow.com/questions/54367127/what-are-the-characters-that-appear-under-a-value-entered-into-the-chrome-consol

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!