diff options
author | Developing <pawanakhil.dasari@gmail.com> | 2021-02-05 03:48:32 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-04 23:18:32 +0100 |
commit | 923214c53725651792f6d55c5401bf6b475622ea (patch) | |
tree | 56fe084e911c12673aa52ce127f17bafba9175d9 /runtime/js/99_main.js | |
parent | b77fcbc518428429e39f5ba94e41fcd0418ee7a0 (diff) |
chore: use strict mode for internal runtime, core, and op_crates js (#9391)
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index c6cc99dd2..485080812 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -2,6 +2,7 @@ // Removes the `__proto__` for security reasons. This intentionally makes // Deno non compliant with ECMA-262 Annex B.2.2.1 // +"use strict"; delete Object.prototype.__proto__; ((window) => { |