Fix typo in "liseners" on line 21

This commit is contained in:
Pawel 2021-01-29 12:32:39 +01:00 committed by GitHub
parent 97ef86242f
commit 3f8ab2426d
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.