Update event-loop.md

This commit is contained in:
xfarrow 2024-08-06 12:40:32 +02:00
parent 738f5311cd
commit cb1ca667b5

View File

@ -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.