summaryrefslogtreecommitdiff
path: root/deno2/js/main.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-06-11 21:32:06 +0200
committerRyan Dahl <ry@tinyclouds.org>2018-06-11 21:34:01 +0200
commit997b300745b343feab58e715aa225396f9b896c8 (patch)
tree9db466d9af83a3170124694dc1e8f52e543eecad /deno2/js/main.ts
parent314f08672157a0977d7c3eeb72010eb0f717d889 (diff)
deno2: fmt js dir
Diffstat (limited to 'deno2/js/main.ts')
-rw-r--r--deno2/js/main.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/deno2/js/main.ts b/deno2/js/main.ts
index a41a7dfee..b34ecf24d 100644
--- a/deno2/js/main.ts
+++ b/deno2/js/main.ts
@@ -1,7 +1,6 @@
const globalEval = eval;
const window = globalEval("this");
-window['foo'] = () => {
+window["foo"] = () => {
deno_print("Hello world from foo");
return "foo";
-}
-
+};