We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab03c68 + 27d96f1 commit ed72c3dCopy full SHA for ed72c3d
README.md
@@ -1768,7 +1768,7 @@
1768
});
1769
1770
promise
1771
- .then((value) => console.log(value)); // Logs after 5 seconds: "I'm a Promise!"
+ .then((value) => console.log(value)) // Logs after 5 seconds: "I'm a Promise!"
1772
.catch((error) => console.error(error)) // Handles any rejection
1773
.finally(() => console.log("Done")); // Runs regardless of success or failure
1774
```
0 commit comments