aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/console-log.js
diff options
context:
space:
mode:
authorGravatar zhiyuang <32867472+zhiyuang@users.noreply.github.com> 2022-10-06 07:49:00 +0800
committerGravatar GitHub <noreply@github.com> 2022-10-05 16:49:00 -0700
commit050292229f0d49674b23aeaa72c3b4a6977ee866 (patch)
tree1bcd852bc5065892202c3ca18dad833922248b65 /test/bun.js/console-log.js
parent906e97223a3dd95801bc0d12f62314719c554fd6 (diff)
downloadbun-050292229f0d49674b23aeaa72c3b4a6977ee866.tar.gz
bun-050292229f0d49674b23aeaa72c3b4a6977ee866.tar.zst
bun-050292229f0d49674b23aeaa72c3b4a6977ee866.zip
fix: console.log handle circular correctly (#1293)
Diffstat (limited to 'test/bun.js/console-log.js')
-rw-r--r--test/bun.js/console-log.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/bun.js/console-log.js b/test/bun.js/console-log.js
index e8aa200ac..5c110f8b0 100644
--- a/test/bun.js/console-log.js
+++ b/test/bun.js/console-log.js
@@ -56,3 +56,5 @@ const infinteLoop = {
infinteLoop.bar = infinteLoop;
console.log(infinteLoop, "am");
+
+console.log(new Array(4).fill({}))