Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xicheng Guo committed May 29, 2024
1 parent e43f917 commit 4cd5659
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/.vitepress/sidebar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
link: /javascript/ecma-script/object/prototype
- text: 原型链
link: /javascript/ecma-script/object/prototype-chain
- text: 异步
items:
- text: 手写 Promise
link: /javascript/ecma-script/async/write-promise
- text: BOM
base: /javascript/bom
items:
Expand Down
2 changes: 2 additions & 0 deletions src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ import MarkMap from './MarkMap.vue';
- 对象
- [原型](javascript/ecma-script/object/prototype)
- [原型链](javascript/ecma-script/object/prototype-chain)
- 异步
- [手写 Promise](javascript/ecma-script/async/write-promise)
- BOM
- [screen](javascript/bom/screen)
- 前端
Expand Down
3 changes: 3 additions & 0 deletions src/javascript/ecma-script/async/write-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 手写 Promise

<<< @/../projects/javascript-sandbox/src/promise/index.ts

0 comments on commit 4cd5659

Please sign in to comment.