语言核心
异步与运行时
模块演化史
构建与工具链
浏览器与工程
09-global-scripts-iife
09-global-scripts-iife/04-dependency-order/dep-b.js
javascript · 0.2 KB
运行:09 · 依赖顺序错乱
点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。
console
// dep-b.js —— 使用 DepUtils,但它此时还不存在 window.__order = window.__order || []; window.__order.push(DepUtils.format('b')); // ReferenceError: DepUtils is not defined
该文件由构建期采集,未做任何改写;源码页不进入搜索引擎索引。