From 42bafa07e73cce5c76d928469cc5a4b34f0c5728 Mon Sep 17 00:00:00 2001 From: Oleg Verych Date: Tue, 30 Jul 2024 08:22:45 +0300 Subject: [PATCH] fix: typo in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5cbc164..1c4aafb 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ Further reading: ```js setTimeout(() => console.log(1)); Promise.resolve().then(() => console.log(2)); -Promise.resolve().then(() => setTimeout(() => console.log(3)); +Promise.resolve().then(() => setTimeout(() => console.log(3))); new Promise(() => console.log(4)); setTimeout(() => console.log(5)); ```