summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
authorDeveloping <pawanakhil.dasari@gmail.com>2021-02-05 03:48:32 +0530
committerGitHub <noreply@github.com>2021-02-04 23:18:32 +0100
commit923214c53725651792f6d55c5401bf6b475622ea (patch)
tree56fe084e911c12673aa52ce127f17bafba9175d9 /runtime/js/99_main.js
parentb77fcbc518428429e39f5ba94e41fcd0418ee7a0 (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.js1
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) => {