mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 21:24:48 +00:00
Add deno2 prototype from external repo.
This commit is contained in:
parent
fe9ea6dcf8
commit
110ddab670
24 changed files with 4668 additions and 0 deletions
7
deno2/js/main.ts
Normal file
7
deno2/js/main.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
const globalEval = eval;
|
||||
const window = globalEval("this");
|
||||
window['foo'] = () => {
|
||||
deno_print("Hello world from foo");
|
||||
return "foo";
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue