diff options
Diffstat (limited to 'cli/js2/README.md')
| -rw-r--r-- | cli/js2/README.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/js2/README.md b/cli/js2/README.md new file mode 100644 index 000000000..f8759bd7b --- /dev/null +++ b/cli/js2/README.md @@ -0,0 +1,11 @@ +# js2 + +This directory contains Deno runtime code written in plain JavaScript. + +Each file is a plain, old **script**, not ES modules. The reason is that +snapshotting ES modules is much harder, especially if one needs to manipulate +global scope (like in case of Deno). + +Each file is prefixed with a number, telling in which order scripts should be +loaded into V8 isolate. This is temporary solution and we're striving not to +require specific order (though it's not 100% obvious if that's feasible). |
