示例工程 04-functions-this

04-functions-this/04-custom-bind/index.html

html · 0.3 KB

运行:04 · 手写 bind

点击「运行示例」后,左侧显示源码、右侧显示运行结果;console 输出会实时回传。

<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <title>04 · 手写 bind</title>
</head>
<body>
  <p>打开 Console 查看自定义 bind 与原生 bind 的对照。</p>
  <script type="module">
    import { run } from './main.js';
    run();
  </script>
</body>
</html>