Add deno2 prototype from external repo.

This commit is contained in:
Ryan Dahl 2018-06-10 00:32:04 +02:00
parent fe9ea6dcf8
commit 110ddab670
24 changed files with 4668 additions and 0 deletions

7
deno2/js/main.ts Normal file
View file

@ -0,0 +1,7 @@
const globalEval = eval;
const window = globalEval("this");
window['foo'] = () => {
deno_print("Hello world from foo");
return "foo";
}