summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/run/unsafe_proto/worker.js
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-11-25 11:41:21 -0500
committerGitHub <noreply@github.com>2023-11-25 11:41:21 -0500
commita4ec7dfae01485290af91c62c1ce17a742dcb104 (patch)
treeac5f66523e5151b56e10304026ba096871fbb825 /cli/tests/testdata/run/unsafe_proto/worker.js
parent00e4c47890e9b5d95557b06f2048d14a79de8401 (diff)
feat(unstable): --unstable-unsafe-proto (#21313)
Closes https://github.com/denoland/deno/issues/21276
Diffstat (limited to 'cli/tests/testdata/run/unsafe_proto/worker.js')
-rw-r--r--cli/tests/testdata/run/unsafe_proto/worker.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/testdata/run/unsafe_proto/worker.js b/cli/tests/testdata/run/unsafe_proto/worker.js
new file mode 100644
index 000000000..b22bc8713
--- /dev/null
+++ b/cli/tests/testdata/run/unsafe_proto/worker.js
@@ -0,0 +1,2 @@
+console.log(Object.hasOwn(Object.prototype, "__proto__"));
+close();