aboutsummaryrefslogtreecommitdiff
path: root/bench/snippets/cat.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'bench/snippets/cat.mjs')
-rw-r--r--bench/snippets/cat.mjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/snippets/cat.mjs b/bench/snippets/cat.mjs
index 7e4f3da54..ca6dfe838 100644
--- a/bench/snippets/cat.mjs
+++ b/bench/snippets/cat.mjs
@@ -1,3 +1,4 @@
+// works in both bun & node
import { readFileSync } from "node:fs";
const count = parseInt(process.env.ITERATIONS || "1", 10) || 1;
const arg = process.argv.slice(1);