summaryrefslogtreecommitdiff
path: root/runtime/examples/extension/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/examples/extension/main.js')
-rw-r--r--runtime/examples/extension/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/examples/extension/main.js b/runtime/examples/extension/main.js
new file mode 100644
index 000000000..4d6e4e3b7
--- /dev/null
+++ b/runtime/examples/extension/main.js
@@ -0,0 +1,4 @@
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+console.log("Hello world from JS!");
+console.log(Deno.build);
+Extension.hello();