From 741a9568905da990058c9b83cef55e7054b469d3 Mon Sep 17 00:00:00 2001 From: josedallatorre Date: Thu, 24 Feb 2022 19:47:43 +0100 Subject: [PATCH] correction --- 18_Day_Promises/18_day_promises.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/18_Day_Promises/18_day_promises.md b/18_Day_Promises/18_day_promises.md index fe0dac7..b31298b 100644 --- a/18_Day_Promises/18_day_promises.md +++ b/18_Day_Promises/18_day_promises.md @@ -147,7 +147,7 @@ Let us another example when the promise is settled with reject. const doPromise = new Promise((resolve, reject) => { setTimeout(() => { const skills = ['HTML', 'CSS', 'JS'] - if (skills.icludes('Node')) { + if (skills.includes('Node')) { resolve('fullstack developer') } else { reject('Something wrong has happened')