From 2138b68c248b5d5bd05fb991d3e330a4832601e3 Mon Sep 17 00:00:00 2001 From: Yongwook Choi Date: Thu, 4 Aug 2022 12:09:16 +0900 Subject: fix: Update `Object.prototype.__proto__` related comments (#15394) --- cli/tsc/99_main_compiler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli') diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index 1c6679e84..b1d62348b 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -8,8 +8,8 @@ // that is created when Deno needs to type check TypeScript, and in some // instances convert TypeScript to JavaScript. -// Removes the `__proto__` for security reasons. This intentionally makes -// Deno non compliant with ECMA-262 Annex B.2.2.1 +// Removes the `__proto__` for security reasons. +// https://tc39.es/ecma262/#sec-get-object.prototype.__proto__ delete Object.prototype.__proto__; ((window) => { -- cgit v1.2.3