Merge pull request #2475 from pawel-123/patch-1

Fix typo in "liseners" on line 21
This commit is contained in:
Ilya Kantor 2021-02-02 11:17:26 +03:00 committed by GitHub
commit 0f00709fbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ let controller = new AbortController();
A controller is an extremely simple object. A controller is an extremely simple object.
- It has a single method `abort()`, - It has a single method `abort()`,
- And a single property `signal` that allows to set event liseners on it. - And a single property `signal` that allows to set event listeners on it.
When `abort()` is called: When `abort()` is called:
- `controller.signal` emits the `"abort"` event. - `controller.signal` emits the `"abort"` event.