From cb1ca667b5e5604de91bb289e9e51bf40fdaca5d Mon Sep 17 00:00:00 2001 From: xfarrow <49845537+xfarrow@users.noreply.github.com> Date: Tue, 6 Aug 2024 12:40:32 +0200 Subject: [PATCH] Update event-loop.md --- async-await/event-loop.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/async-await/event-loop.md b/async-await/event-loop.md index 6b2e133..9ea0e8d 100644 --- a/async-await/event-loop.md +++ b/async-await/event-loop.md @@ -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. \ No newline at end of file +`console.log('test2')` will be put in the Event Loop. \ No newline at end of file