mirror of
https://github.com/xfarrow/javascript-tutorials.git
synced 2025-04-14 18:41:59 +02:00
Update event-loop.md
This commit is contained in:
parent
0adc594656
commit
738f5311cd
@ -10,11 +10,9 @@ examples:
|
||||
1.
|
||||
|
||||
```javascript
|
||||
|
||||
setTimeout(() => console.log('test'), 1000);
|
||||
|
||||
```
|
||||
console.log('test') will be put in the Event Loop.
|
||||
`console.log('test')` will be put in the Event Loop.
|
||||
|
||||
2.
|
||||
```javascript
|
||||
|
Loading…
x
Reference in New Issue
Block a user