change to readme.md

This commit is contained in:
Alessandro Ferro 2024-08-07 11:01:42 +02:00
parent 892259ba1e
commit 751c6919fe
2 changed files with 0 additions and 1 deletions

View File

@ -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),