Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ button 要素に `addEventListener` すればよいように


`addEventListener` の引数で
1-2-4 か 1-3-4 のどちらかを選べます。
1-2-4 か 2-3-4 のどちらかを選べます。

1. capturing フェーズ

Expand Down Expand Up @@ -1640,14 +1640,14 @@ fetch('/api/foo').then(fetchBar(fetchBuz(doSomething)));
function fetchBar(callback) {
return function(responseFoo) {
doSomething(responseFoo);
fetchBar(callback);
fetch('/api/bar').then(callback);
};
}

function fetchBuz(callback) {
return function(responseBar) {
doSomething(responseBar);
fetchBuz(callback);
fetch('/api/buz').then(callback);
};
}
```
Expand Down