Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 504 Bytes

vm_in_devtools.md

File metadata and controls

9 lines (5 loc) · 504 Bytes

引言

What are those strange and mysterious scripts titled "[VM](XXXX " and where do they come from?

what's vm(xxxx)

VM has no special meaning. It's a dummy name to help us to distinguish code which are not directly tied to a file name, such as code created using eval and friends.

为了标识不能和具体文件直接关联的脚本的虚拟名称,并不是真正的文件,例如 eval 方法所执行的脚本、匿名函数,脚本会被抛入Chrome调试器虚拟机中