From 26bb6bea485bb329d74411531d2edba2453afcc8 Mon Sep 17 00:00:00 2001 From: alattalatta Date: Sun, 23 May 2021 23:00:15 +0900 Subject: [FIX] Get rid of {{CompatibilityTable}} from JavaScript (#918) * Add browser-compat to JS pages with legacy compat * Get rid of {{CompatibilityTable}} from JavaScript --- .../global_objects/object/create/index.html | 86 ++-------------------- .../object/getprototypeof/index.html | 86 ++-------------------- .../object/setprototypeof/index.html | 77 ++----------------- 3 files changed, 21 insertions(+), 228 deletions(-) (limited to 'files/ko/web/javascript/reference/global_objects/object') diff --git a/files/ko/web/javascript/reference/global_objects/object/create/index.html b/files/ko/web/javascript/reference/global_objects/object/create/index.html index 87a672aace..1d8873600c 100644 --- a/files/ko/web/javascript/reference/global_objects/object/create/index.html +++ b/files/ko/web/javascript/reference/global_objects/object/create/index.html @@ -9,6 +9,7 @@ tags: - Reference - polyfill translation_of: Web/JavaScript/Reference/Global_Objects/Object/create +browser-compat: javascript.builtins.Object.create ---
{{JSRef}}
@@ -182,84 +183,13 @@ o2 = Object.create({}, { })(); } -

스펙

- - - - - - - - - - - - - - - - - - - - - - - - -
스펙상태설명
{{SpecName('ES5.1', '#sec-15.2.3.5', 'Object.create')}}{{Spec2('ES5.1')}}초기 정의. JavaScript 1.8.5에서 구현됨.
{{SpecName('ES6', '#sec-object.create', 'Object.create')}}{{Spec2('ES6')}} 
{{SpecName('ESDraft', '#sec-object.create', 'Object.create')}}{{Spec2('ESDraft')}} 
- -

브라우저 호환성

- -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatChrome("5")}}{{CompatGeckoDesktop("2")}}{{CompatIE("9")}}{{CompatOpera("11.60")}}{{CompatSafari("5")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatGeckoDesktop("2")}}{{CompatVersionUnknown}}{{CompatOperaMobile("11.5")}}{{CompatVersionUnknown}}
-
+

명세

+ +

{{Specifications}}

+ +

브라우저 호환성

+ +

{{Compat}}

참조

diff --git a/files/ko/web/javascript/reference/global_objects/object/getprototypeof/index.html b/files/ko/web/javascript/reference/global_objects/object/getprototypeof/index.html index 12a65e24de..15c67c0c20 100644 --- a/files/ko/web/javascript/reference/global_objects/object/getprototypeof/index.html +++ b/files/ko/web/javascript/reference/global_objects/object/getprototypeof/index.html @@ -7,6 +7,7 @@ tags: - Method - Object translation_of: Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf +browser-compat: javascript.builtins.Object.getPrototypeOf ---
{{JSRef}}
@@ -40,84 +41,13 @@ Object.getPrototypeOf("foo"); // String.prototype (ES6 코드) -

스펙

- - - - - - - - - - - - - - - - - - - - - - - - -
스펙상태설명
{{SpecName('ES5.1', '#sec-15.2.3.2', 'Object.getPrototypeOf')}}{{Spec2('ES5.1')}}초기 정의.
{{SpecName('ES6', '#sec-object.getprototypeof', 'Object.getProtoypeOf')}}{{Spec2('ES6')}} 
{{SpecName('ESDraft', '#sec-object.getprototypeof', 'Object.getProtoypeOf')}}{{Spec2('ESDraft')}} 
- -

브라우저 호환성

- -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatChrome("5")}}{{CompatGeckoDesktop("1.9.1")}}{{CompatIE("9")}}{{CompatOpera("12.10")}}{{CompatSafari("5")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+

명세

+ +

{{Specifications}}

+ +

브라우저 호환성

+ +

{{Compat}}

Opera 전용 주의사항

diff --git a/files/ko/web/javascript/reference/global_objects/object/setprototypeof/index.html b/files/ko/web/javascript/reference/global_objects/object/setprototypeof/index.html index 332f857361..64f7a89a18 100644 --- a/files/ko/web/javascript/reference/global_objects/object/setprototypeof/index.html +++ b/files/ko/web/javascript/reference/global_objects/object/setprototypeof/index.html @@ -2,6 +2,7 @@ title: Object.setPrototypeOf() slug: Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf translation_of: Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf +browser-compat: javascript.builtins.Object.setPrototypeOf ---

{{JSRef}}

@@ -156,81 +157,13 @@ console.log(george.identity); // 'George' george(); // 'Hello guys!!' -

Specifications

- - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('ES2015', '#sec-object.setprototypeof', 'Object.setProtoypeOf')}}{{Spec2('ES2015')}}Initial definition.
{{SpecName('ESDraft', '#sec-object.setprototypeof', 'Object.setProtoypeOf')}}{{Spec2('ESDraft')}}
- -

Browser compatibility

- -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatChrome("34")}}{{CompatGeckoDesktop("31")}}{{CompatIE("11")}}{{CompatVersionUnknown}}{{CompatSafari("9")}}
+

명세

+

{{Specifications}}

-
+

브라우저 호환성

-
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile("31")}}{{CompatUnknown}}{{CompatNo}}{{CompatSafari("9")}}
-
+

{{Compat}}

See also

-- cgit v1.2.3-54-g00ecf