summaryrefslogtreecommitdiff
path: root/runtime/examples/extension_with_ops/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/examples/extension_with_ops/main.js')
-rw-r--r--runtime/examples/extension_with_ops/main.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/examples/extension_with_ops/main.js b/runtime/examples/extension_with_ops/main.js
new file mode 100644
index 000000000..042573c08
--- /dev/null
+++ b/runtime/examples/extension_with_ops/main.js
@@ -0,0 +1,2 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+Deno[Deno.internal].core.ops.op_hello("World");