Skip to content

Commit 14e99c4

Browse files
authored
Typo fixes (#1999)
2 parents 1473829 + b2a37d3 commit 14e99c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
Breaking any of these rules will result in your pull request being closed. Please follow these guidelines above all else:
1414

1515
- **Always be polite and respectful to others** and try to follow the advice of the moderators/collaborators/owners.
16-
- **Only create or modify snippet and collecton files**, never touch the `assets` or `languages` directories or any of the files in the root directory.
16+
- **Only create or modify snippet and collection files**, never touch the `assets` or `languages` directories or any of the files in the root directory.
1717
- **Use existing templates for snippets and collections**, ensuring to follow guidelines and that files are in the correct location.
1818
- **Follow snippet and collection format exactly**, otherwise your content will not be recognized correctly by the tools responsible for publishing them on the website. Consult the templates or previous snippets/collections if you are unsure.
1919
- **Snippets should solve real-world problems**, no matter how simple and should be abstract enough to be applied to different scenarios.

snippets/js/s/event-loop-explained.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function bar() {
4444

4545
**Tasks** are scheduled, synchronous blocks of code. While executing, they have exclusive access to the Call Stack and can also enqueue other tasks. Between Tasks, the browser can perform rendering updates. Tasks are stored in the **Task Queue**, waiting to be executed by their associated functions. The Task Queue, in turn, is a FIFO (First In, First Out) data structure. Examples of Tasks include the callback function of an event listener associated with an event and the callback of `setTimeout()`.
4646

47-
### Microtasks an the Microtask Queue
47+
### Microtasks and the Microtask Queue
4848

4949
**Microtasks** are similar to Tasks in that they're scheduled, synchronous blocks of code with exclusive access to the Call Stack while executing. Additionally, they are stored in their own FIFO (First In, First Out) data structure, the **Microtask Queue**. Microtasks differ from Tasks, however, in that the Microtask Queue must be emptied out after a Task completes and before re-rendering. Examples of Microtasks include `Promise` callbacks and `MutationObserver` callbacks.
5050

0 commit comments

Comments
 (0)