js0015 发表于 2018-12-15 | 阅读次数: 字数统计: 129 | 阅读时长 ≈ 1 执行上下文来跟踪代码123456789101112131415161718192021222324<!DOCTYPE html><html><head> <title>The creation of execution contexts</title> <meta charset="utf-8"> <script src="../assert.js"></script> <link rel="stylesheet" type="text/css" href="../assert.css"></head><body> <script type="text/javascript"> function skulk(ninja) { report(ninja + " skulking"); } function report(message) { console.log(message); } skulk("Kuma"); skulk("Yoshi"); </script> <p>Outputs to the console (press F12)</p></body></html>