mirror of
https://github.com/xfarrow/javascript-tutorials.git
synced 2025-04-21 13:57:23 +02:00
Update event-loop.md
This commit is contained in:
parent
738f5311cd
commit
cb1ca667b5
@ -16,7 +16,6 @@ examples:
|
||||
|
||||
2.
|
||||
```javascript
|
||||
|
||||
const promise = new Promise(function (resolve, reject) {
|
||||
console.log('test');
|
||||
resolve();
|
||||
@ -25,4 +24,4 @@ examples:
|
||||
});
|
||||
|
||||
```
|
||||
console.log('test2') will be put in the Event Loop.
|
||||
`console.log('test2')` will be put in the Event Loop.
|
Loading…
x
Reference in New Issue
Block a user