Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我输入setInterval谷歌浏览器的开发者工具时,它会将以下内容写入控制台
setInterval
function setInterval() { [native code] }
我怎样才能找到应该在的代码[native code]?
[native code]
setInterval()由渲染引擎实现。
setInterval()
在 Webkit/Blink 中,它是对DOMWindow实例的调用。
最有趣的位在DOMTimer.cpp