From 751c6919febb508afe5f7cb9e0a8a6e7ba954f63 Mon Sep 17 00:00:00 2001 From: Alessandro Ferro <49845537+xfarrow@users.noreply.github.com> Date: Wed, 7 Aug 2024 11:01:42 +0200 Subject: [PATCH] change to readme.md --- async-await/1_promises.js | 1 - async-await/{async-javascript.md => README.md} | 0 2 files changed, 1 deletion(-) rename async-await/{async-javascript.md => README.md} (100%) diff --git a/async-await/1_promises.js b/async-await/1_promises.js index 264b669..ed0b146 100644 --- a/async-await/1_promises.js +++ b/async-await/1_promises.js @@ -24,7 +24,6 @@ const promise = new Promise(function (resolve, reject) { /* The first argument of .then is a function that runs when the promise is resolved and receives the result. The second argument of .then is a function that runs when the promise is rejected and receives the error. - The function passed to "then()" is put in the Event Loop queue. */ promise.then( result => console.log('The operation was successful. It returned ' + result), diff --git a/async-await/async-javascript.md b/async-await/README.md similarity index 100% rename from async-await/async-javascript.md rename to async-await/README.md