diff options
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/99_main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index f98c4973e..d64625993 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -302,7 +302,8 @@ delete Object.prototype.__proto__; console: util.writable( new Console((msg, level) => core.print(msg, level > 1)), ), - crypto: util.readOnly(crypto), + crypto: util.readOnly(crypto.crypto), + Crypto: util.nonEnumerable(crypto.Crypto), fetch: util.writable(fetch.fetch), performance: util.writable(performance.performance), setInterval: util.writable(timers.setInterval), |