aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index cc21058ac..04f8515e7 100644
--- a/README.md
+++ b/README.md
@@ -2582,7 +2582,7 @@ console.log(ls); // null
import { peek } from "bun";
const promise = Promise.resolve("hi");
-const result = await peek(promise);
+const result = peek(promise);
console.log(result); // "hi"
```