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 --- .../reference/operators/addition/index.html | 11 +------ .../operators/addition_assignment/index.html | 11 +------ .../reference/operators/assignment/index.html | 11 +------ .../reference/operators/await/index.html | 17 +---------- .../reference/operators/bitwise_and/index.html | 13 +------- .../reference/operators/comma_operator/index.html | 30 +------------------ .../operators/destructuring_assignment/index.html | 15 +--------- .../reference/operators/function/index.html | 30 +------------------ .../reference/operators/function_star_/index.html | 20 +------------ .../reference/operators/grouping/index.html | 30 +------------------ .../javascript/reference/operators/in/index.html | 30 +------------------ .../reference/operators/instanceof/index.html | 30 +------------------ .../reference/operators/new.target/index.html | 20 +------------ .../javascript/reference/operators/new/index.html | 30 +------------------ .../nullish_coalescing_operator/index.html | 13 +------- .../operators/object_initializer/index.html | 35 +--------------------- .../operators/optional_chaining/index.html | 17 +---------- .../reference/operators/super/index.html | 13 +------- .../javascript/reference/operators/this/index.html | 11 +------ .../reference/operators/typeof/index.html | 35 +--------------------- .../javascript/reference/operators/void/index.html | 35 +--------------------- 21 files changed, 21 insertions(+), 436 deletions(-) (limited to 'files/ru/web/javascript/reference/operators') diff --git a/files/ru/web/javascript/reference/operators/addition/index.html b/files/ru/web/javascript/reference/operators/addition/index.html index a248b53cb6..944ef3d8a7 100644 --- a/files/ru/web/javascript/reference/operators/addition/index.html +++ b/files/ru/web/javascript/reference/operators/addition/index.html @@ -48,16 +48,7 @@ false + false // 0

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

- - - - - - - - - -
Спецификации
{{SpecName('ESDraft', '#sec-addition-operator-plus', 'Addition operator')}}
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/addition_assignment/index.html b/files/ru/web/javascript/reference/operators/addition_assignment/index.html index 010cff6508..e7124ec00f 100644 --- a/files/ru/web/javascript/reference/operators/addition_assignment/index.html +++ b/files/ru/web/javascript/reference/operators/addition_assignment/index.html @@ -50,16 +50,7 @@ foo += 'bar' // "foobar"

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

- - - - - - - - - -
Спецификации
{{SpecName('ESDraft', '#sec-assignment-operators', 'Assignment operators')}}
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/assignment/index.html b/files/ru/web/javascript/reference/operators/assignment/index.html index b141299f68..795c61c381 100644 --- a/files/ru/web/javascript/reference/operators/assignment/index.html +++ b/files/ru/web/javascript/reference/operators/assignment/index.html @@ -43,16 +43,7 @@ x = y = z // x, y и z будут равны 25

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

- - - - - - - - - -
Specification
{{SpecName('ESDraft', '#sec-assignment-operators', 'Assignment operators')}}
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/await/index.html b/files/ru/web/javascript/reference/operators/await/index.html index 08b8653164..f9586e9180 100644 --- a/files/ru/web/javascript/reference/operators/await/index.html +++ b/files/ru/web/javascript/reference/operators/await/index.html @@ -73,22 +73,7 @@ f3();

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

- - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('ESDraft', '#sec-async-function-definitions', 'async functions')}}{{Spec2('ESDraft')}}Initial definition in ES2017.
+{{Specifications}}

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

diff --git a/files/ru/web/javascript/reference/operators/bitwise_and/index.html b/files/ru/web/javascript/reference/operators/bitwise_and/index.html index 06764a1803..bdb11d9d4b 100644 --- a/files/ru/web/javascript/reference/operators/bitwise_and/index.html +++ b/files/ru/web/javascript/reference/operators/bitwise_and/index.html @@ -84,18 +84,7 @@ translation_of: Web/JavaScript/Reference/Operators/Bitwise_AND

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

- - - - - - - - - - - -
Спецификация
{{SpecName('ESDraft', '#prod-BitwiseANDExpression', 'Bitwise AND expression')}}
+{{Specifications}}

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

diff --git a/files/ru/web/javascript/reference/operators/comma_operator/index.html b/files/ru/web/javascript/reference/operators/comma_operator/index.html index e1108dc7c9..683a74e2ae 100644 --- a/files/ru/web/javascript/reference/operators/comma_operator/index.html +++ b/files/ru/web/javascript/reference/operators/comma_operator/index.html @@ -61,35 +61,7 @@ console.log(x); // 6

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарий
{{SpecName('ESDraft', '#sec-comma-operator', 'Comma operator')}}{{Spec2('ESDraft')}} 
{{SpecName('ES6', '#sec-comma-operator', 'Comma operator')}}{{Spec2('ES6')}} 
{{SpecName('ES5.1', '#sec-11.14', 'Comma operator')}}{{Spec2('ES5.1')}} 
{{SpecName('ES1', '#sec-11.14', 'Comma operator')}}{{Spec2('ES1')}}Initial definition
+{{Specifications}}

Совместимость браузеров

diff --git a/files/ru/web/javascript/reference/operators/destructuring_assignment/index.html b/files/ru/web/javascript/reference/operators/destructuring_assignment/index.html index 8d878fb555..ffc86a35da 100644 --- a/files/ru/web/javascript/reference/operators/destructuring_assignment/index.html +++ b/files/ru/web/javascript/reference/operators/destructuring_assignment/index.html @@ -225,20 +225,7 @@ console.log(foo); // "bar"

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

- - - - - - - - - - - - - -
СпецификацияСтатусКомментарий
{{SpecName('ES2015', '#sec-destructuring-assignment', 'Деструктурирующее присваивание')}}{{Spec2('ES2015')}}Изначальное определение.
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/function/index.html b/files/ru/web/javascript/reference/operators/function/index.html index ed68eff169..6a4b58c1b7 100644 --- a/files/ru/web/javascript/reference/operators/function/index.html +++ b/files/ru/web/javascript/reference/operators/function/index.html @@ -97,35 +97,7 @@ console.log(bar === baz); // false (errors because baz == undefined)

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарий
{{SpecName('ESDraft', '#sec-function-definitions', 'Function definitions')}}{{Spec2('ESDraft')}}
{{SpecName('ES6', '#sec-function-definitions', 'Function definitions')}}{{Spec2('ES6')}}
{{SpecName('ES5.1', '#sec-13', 'Function definition')}}{{Spec2('ES5.1')}}
{{SpecName('ES3', '#sec-13', 'Function definition')}}{{Spec2('ES3')}}Изначальное определение. Реализовано в JavaScript 1.5.
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/function_star_/index.html b/files/ru/web/javascript/reference/operators/function_star_/index.html index fe37133b65..886e2a2a1c 100644 --- a/files/ru/web/javascript/reference/operators/function_star_/index.html +++ b/files/ru/web/javascript/reference/operators/function_star_/index.html @@ -45,25 +45,7 @@ translation_of: Web/JavaScript/Reference/Operators/function*

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

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

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/grouping/index.html b/files/ru/web/javascript/reference/operators/grouping/index.html index 0b504945a1..1e4714a8a8 100644 --- a/files/ru/web/javascript/reference/operators/grouping/index.html +++ b/files/ru/web/javascript/reference/operators/grouping/index.html @@ -47,35 +47,7 @@ a * c + b * c // 9

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарий
{{SpecName('ESDraft', '#sec-grouping-operator', 'The Grouping Operator')}}{{Spec2('ESDraft')}} 
{{SpecName('ES6', '#sec-grouping-operator', 'The Grouping Operator')}}{{Spec2('ES6')}} 
{{SpecName('ES5.1', '#sec-11.1.6', 'The Grouping Operator')}}{{Spec2('ES5.1')}} 
{{SpecName('ES1', '#sec-11.1.4', 'The Grouping Operator')}}{{Spec2('ES1')}}Изначальное определение.
+{{Specifications}}

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

diff --git a/files/ru/web/javascript/reference/operators/in/index.html b/files/ru/web/javascript/reference/operators/in/index.html index 7570704fb8..8815538364 100644 --- a/files/ru/web/javascript/reference/operators/in/index.html +++ b/files/ru/web/javascript/reference/operators/in/index.html @@ -92,35 +92,7 @@ trees[3] = undefined;

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарий
{{SpecName('ESDraft', '#sec-relational-operators', 'Relational Operators')}}{{Spec2('ESDraft')}}
{{SpecName('ES2015', '#sec-relational-operators', 'Relational Operators')}}{{Spec2('ES2015')}}
{{SpecName('ES5.1', '#sec-11.8.7', 'The in Operator')}}{{Spec2('ES5.1')}}
{{SpecName('ES3', '#sec-11.8.7', 'The in Operator')}}{{Spec2('ES3')}}Определено изначально. Реализовано в JavaScript 1.4
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/instanceof/index.html b/files/ru/web/javascript/reference/operators/instanceof/index.html index 07d96f328d..628542b435 100644 --- a/files/ru/web/javascript/reference/operators/instanceof/index.html +++ b/files/ru/web/javascript/reference/operators/instanceof/index.html @@ -123,35 +123,7 @@ var b = mycar instanceof Object; // возвращает true

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарий
{{SpecName('ESDraft', '#sec-relational-operators', 'Relational Operators')}}{{Spec2('ESDraft')}} 
{{SpecName('ES6', '#sec-relational-operators', 'Relational Operators')}}{{Spec2('ES6')}} 
{{SpecName('ES5.1', '#sec-11.8.6', 'The instanceof operator')}}{{Spec2('ES5.1')}} 
{{SpecName('ES3', '#sec-11.8.6', 'The instanceof operator')}}{{Spec2('ES3')}}Изначальное определение. Реализована в JavaScript 1.4.
+{{Specifications}}

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

diff --git a/files/ru/web/javascript/reference/operators/new.target/index.html b/files/ru/web/javascript/reference/operators/new.target/index.html index f3bdc63be8..d6155a1891 100644 --- a/files/ru/web/javascript/reference/operators/new.target/index.html +++ b/files/ru/web/javascript/reference/operators/new.target/index.html @@ -53,25 +53,7 @@ var b = new B(); // вернёт "B"

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

- - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарии
{{SpecName('ES6', '#sec-built-in-function-objects', 'Built-in Function Objects')}}{{Spec2('ES6')}}Изначальное определение.
{{SpecName('ESDraft', '#sec-built-in-function-objects', 'Built-in Function Objects')}}{{Spec2('ESDraft')}} 
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/new/index.html b/files/ru/web/javascript/reference/operators/new/index.html index 8a9188b978..fc7315525c 100644 --- a/files/ru/web/javascript/reference/operators/new/index.html +++ b/files/ru/web/javascript/reference/operators/new/index.html @@ -127,35 +127,7 @@ var car2 = new Car("Nissan", "300ZX", 1992, ken);

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('ES6', '#sec-new-operator', 'The new Operator')}}{{Spec2('ES6')}} 
{{SpecName('ES5.1', '#sec-11.2.2', 'The new Operator')}}{{Spec2('ES5.1')}} 
{{SpecName('ES3', '#sec-11.2.2', 'The new Operator')}}{{Spec2('ES3')}} 
{{SpecName('ES1', '#sec-11.2.2', 'The new Operator')}}{{Spec2('ES1')}}Изначальное определение. Реализовано JavaScript 1.0.
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/nullish_coalescing_operator/index.html b/files/ru/web/javascript/reference/operators/nullish_coalescing_operator/index.html index 9246557aa2..f31321b93a 100644 --- a/files/ru/web/javascript/reference/operators/nullish_coalescing_operator/index.html +++ b/files/ru/web/javascript/reference/operators/nullish_coalescing_operator/index.html @@ -110,18 +110,7 @@ console.log(foo.someBarProp?.toUpperCase()); // undefined

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

- - - - - - - - - - - -
Specification
{{SpecName('ESDraft', '#prod-Nulli', 'nullish coalescing expression')}}
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/object_initializer/index.html b/files/ru/web/javascript/reference/operators/object_initializer/index.html index 5a75e71fcf..2c83f7b09e 100644 --- a/files/ru/web/javascript/reference/operators/object_initializer/index.html +++ b/files/ru/web/javascript/reference/operators/object_initializer/index.html @@ -248,40 +248,7 @@ assert(obj3.__proto__ === 17);

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('ES1')}}{{Spec2('ES1')}}initial definition.
{{SpecName('ES5.1', '#sec-11.1.5', 'Object Initializer')}}{{Spec2('ES5.1')}}getter and setter added.
{{SpecName('ES2015', '#sec-object-initializer', 'Object Initializer')}}{{Spec2('ES2015')}}Shorthand method/property names and computed property names added.
{{SpecName('ESDraft', '#sec-object-initializer', 'Object Initializer')}}{{Spec2('ESDraft')}}
Rest/Spread Properties for ECMAScript DraftStage 3 draft.
+{{Specifications}}

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

diff --git a/files/ru/web/javascript/reference/operators/optional_chaining/index.html b/files/ru/web/javascript/reference/operators/optional_chaining/index.html index 5a27d48ac5..2e62829c1d 100644 --- a/files/ru/web/javascript/reference/operators/optional_chaining/index.html +++ b/files/ru/web/javascript/reference/operators/optional_chaining/index.html @@ -142,22 +142,7 @@ console.log(customerCity); // Unknown city

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

- - - - - - - - - - - - - - - -
СпецификацияСтатусПримечание
Proposal for the "optional chaining" operatorStage 4
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/super/index.html b/files/ru/web/javascript/reference/operators/super/index.html index 0a2a74c468..431491e85b 100644 --- a/files/ru/web/javascript/reference/operators/super/index.html +++ b/files/ru/web/javascript/reference/operators/super/index.html @@ -148,18 +148,7 @@ obj2.method2(); // выведет "method 1"

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

- - - - - - - - - - - -
Спецификация
{{SpecName('ESDraft', '#sec-super-keyword', 'super')}}
+{{Specifications}}

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

diff --git a/files/ru/web/javascript/reference/operators/this/index.html b/files/ru/web/javascript/reference/operators/this/index.html index bc57ae4b98..5d7f1477fe 100644 --- a/files/ru/web/javascript/reference/operators/this/index.html +++ b/files/ru/web/javascript/reference/operators/this/index.html @@ -386,16 +386,7 @@ for (var i = 0; i < elements.length; i++) {

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

- - - - - - - - - -
Specification
{{SpecName('ESDraft', '#sec-this-keyword', 'The this keyword')}}
+{{Specifications}}

Совместимость

diff --git a/files/ru/web/javascript/reference/operators/typeof/index.html b/files/ru/web/javascript/reference/operators/typeof/index.html index f0fe26202d..192211c696 100644 --- a/files/ru/web/javascript/reference/operators/typeof/index.html +++ b/files/ru/web/javascript/reference/operators/typeof/index.html @@ -189,40 +189,7 @@ typeof newConstVariable; const newConstVariable = 'hello'; // ReferenceError

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарии
{{SpecName('ESDraft', '#sec-typeof-operator', 'The typeof Operator')}}{{Spec2('ESDraft')}} 
{{SpecName('ES6', '#sec-typeof-operator', 'The typeof Operator')}}{{Spec2('ES6')}} 
{{SpecName('ES5.1', '#sec-11.4.3', 'The typeof Operator')}}{{Spec2('ES5.1')}} 
{{SpecName('ES3', '#sec-11.4.3', 'The typeof Operator')}}{{Spec2('ES3')}} 
{{SpecName('ES1', '#sec-11.4.3', 'The typeof Operator')}}{{Spec2('ES1')}}Изначальное определение. Реализовано в JavaScript 1.1
+{{Specifications}}

Совместимость с браузерами

diff --git a/files/ru/web/javascript/reference/operators/void/index.html b/files/ru/web/javascript/reference/operators/void/index.html index 94d318bacb..68f3cf8ce1 100644 --- a/files/ru/web/javascript/reference/operators/void/index.html +++ b/files/ru/web/javascript/reference/operators/void/index.html @@ -56,40 +56,7 @@ translation_of: Web/JavaScript/Reference/Operators/void

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
СпецификацияСтатусКомментарий
{{SpecName('ESDraft', '#sec-void-operator', 'The void Operator')}}{{Spec2('ESDraft')}} 
{{SpecName('ES6', '#sec-void-operator', 'The void Operator')}}{{Spec2('ES6')}} 
{{SpecName('ES5.1', '#sec-11.4.2', 'The void Operator')}}{{Spec2('ES5.1')}} 
{{SpecName('ES3', '#sec-11.4.2', 'The void Operator')}}{{Spec2('ES3')}} 
{{SpecName('ES1', '#sec-11.4.2', 'The void Operator')}}{{Spec2('ES1')}}Изначальное определение. Реализована в JavaScript 1.1.
+{{Specifications}}

Совместимость с браузерами

-- cgit v1.2.3-54-g00ecf