Skip to content

Commit ed72c3d

Browse files
authored
Merge pull request #319 from vinitgundeti/patch-1
remove semicolon after then. as, it is continuous code and giving error with semicolon
2 parents ab03c68 + 27d96f1 commit ed72c3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,7 @@
17681768
});
17691769

17701770
promise
1771-
.then((value) => console.log(value)); // Logs after 5 seconds: "I'm a Promise!"
1771+
.then((value) => console.log(value)) // Logs after 5 seconds: "I'm a Promise!"
17721772
.catch((error) => console.error(error)) // Handles any rejection
17731773
.finally(() => console.log("Done")); // Runs regardless of success or failure
17741774
```

0 commit comments

Comments
 (0)