From f3abb48a00c8c813e6b1bc8fee19e6b4c0414ce9 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Mon, 25 Oct 2021 10:06:22 +0300 Subject: Использование макроса для вставки специфицикаций (#2850) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Использование макроса для вставки специфицикаций * Replaces --- .../global_objects/string/includes/index.html | 20 +------------------- .../global_objects/string/matchall/index.html | 13 +------------ .../global_objects/string/padstart/index.html | 15 +-------------- 3 files changed, 3 insertions(+), 45 deletions(-) (limited to 'files/ru/web/javascript/reference/global_objects/string') diff --git a/files/ru/web/javascript/reference/global_objects/string/includes/index.html b/files/ru/web/javascript/reference/global_objects/string/includes/index.html index 1b7dfaf5dd..79181a506a 100644 --- a/files/ru/web/javascript/reference/global_objects/string/includes/index.html +++ b/files/ru/web/javascript/reference/global_objects/string/includes/index.html @@ -77,25 +77,7 @@ console.log(str.includes('БЫТЬ')); // false

Спецификации

- - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарий
{{SpecName('ES6', '#sec-string.prototype.includes', 'String.prototype.includes')}}{{Spec2('ES6')}}Изначальное определение.
{{SpecName('ESDraft', '#sec-string.prototype.includes', 'String.prototype.includes')}}{{Spec2('ESDraft')}} 
+{{Specifications}}

Поддержка браузерами

diff --git a/files/ru/web/javascript/reference/global_objects/string/matchall/index.html b/files/ru/web/javascript/reference/global_objects/string/matchall/index.html index ece52d3043..1ffad309c2 100644 --- a/files/ru/web/javascript/reference/global_objects/string/matchall/index.html +++ b/files/ru/web/javascript/reference/global_objects/string/matchall/index.html @@ -92,18 +92,7 @@ array[1];

Спецификации

- - - - - - - - - - - -
СпецификацияСтатус
String.prototype.matchAllStage 3
+{{Specifications}}

Браузерная совместимость

{{Compat("javascript.builtins.String.matchAll")}}

diff --git a/files/ru/web/javascript/reference/global_objects/string/padstart/index.html b/files/ru/web/javascript/reference/global_objects/string/padstart/index.html index 855b129568..302f3f8d60 100644 --- a/files/ru/web/javascript/reference/global_objects/string/padstart/index.html +++ b/files/ru/web/javascript/reference/global_objects/string/padstart/index.html @@ -64,20 +64,7 @@ if (!String.prototype.padStart) {

Спецификации

- - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('ESDraft', '#sec-string.prototype.padstart', 'String.prototype.padStart')}}{{Spec2('ESDraft')}}Initial definition in ECMAScript 2017.
+{{Specifications}}

Поддержка браузерами

{{Compat("javascript.builtins.String.padStart")}}

-- cgit v1.2.3-54-g00ecf