diff --git a/files/ru/_redirects.txt b/files/ru/_redirects.txt index edb1130806ac9e..69a4da5f7a4d6c 100644 --- a/files/ru/_redirects.txt +++ b/files/ru/_redirects.txt @@ -753,7 +753,12 @@ /ru/docs/Web/JavaScript/Reference/Classes/Private_class_fields /ru/docs/Web/JavaScript/Reference/Classes/Private_properties /ru/docs/Web/JavaScript/Reference/Classes/Приватные_поля_класса /ru/docs/Web/JavaScript/Reference/Classes/Private_properties /ru/docs/Web/JavaScript/Reference/Errors/Bad_return_or_yield /ru/docs/Web/JavaScript/Reference/Errors/Bad_return +/ru/docs/Web/JavaScript/Reference/Errors/Deprecated_octal /ru/docs/Web/JavaScript/Reference/Errors/Deprecated_octal_literal +/ru/docs/Web/JavaScript/Reference/Errors/Equal_as_assign /ru/docs/orphaned/Web/JavaScript/Reference/Errors/Equal_as_assign +/ru/docs/Web/JavaScript/Reference/Errors/Missing_semicolon_before_statement /ru/docs/conflicting/Web/JavaScript/Reference/Errors/Unexpected_token /ru/docs/Web/JavaScript/Reference/Errors/Not_a_codepoint /ru/docs/Web/JavaScript/Reference/Errors/Not_a_valid_code_point +/ru/docs/Web/JavaScript/Reference/Errors/Undefined_prop /ru/docs/orphaned/Web/JavaScript/Reference/Errors/Undefined_prop +/ru/docs/Web/JavaScript/Reference/Errors/Unterminated_string_literal /ru/docs/Web/JavaScript/Reference/Errors/String_literal_EOL /ru/docs/Web/JavaScript/Reference/Functions/Определиние_методов /ru/docs/Web/JavaScript/Reference/Functions/Method_definitions /ru/docs/Web/JavaScript/Reference/Global_Objects/Array/contains /ru/docs/Web/JavaScript/Reference/Global_Objects/Array/includes /ru/docs/Web/JavaScript/Reference/Global_Objects/Collator /ru/docs/Web/JavaScript/Reference/Global_Objects/Intl/Collator diff --git a/files/ru/_wikihistory.json b/files/ru/_wikihistory.json index 2cab33d2522ae9..dd105c5c356d30 100644 --- a/files/ru/_wikihistory.json +++ b/files/ru/_wikihistory.json @@ -11884,7 +11884,7 @@ "modified": "2020-03-12T19:48:07.207Z", "contributors": ["simonprod", "MakarovDs777", "Akh-rman"] }, - "Web/JavaScript/Reference/Errors/Deprecated_octal": { + "Web/JavaScript/Reference/Errors/Deprecated_octal_literal": { "modified": "2020-03-12T19:48:36.042Z", "contributors": ["MakarovDs777", "ialexi-bl"] }, @@ -11892,10 +11892,6 @@ "modified": "2020-03-12T19:46:14.659Z", "contributors": ["medianex"] }, - "Web/JavaScript/Reference/Errors/Equal_as_assign": { - "modified": "2020-03-12T19:48:37.445Z", - "contributors": ["MakarovDs777"] - }, "Web/JavaScript/Reference/Errors/Getter_only": { "modified": "2020-03-12T19:48:43.409Z", "contributors": ["MakarovDs777"] @@ -11976,10 +11972,6 @@ "modified": "2020-03-12T19:47:08.319Z", "contributors": ["thepocp"] }, - "Web/JavaScript/Reference/Errors/Missing_semicolon_before_statement": { - "modified": "2020-03-12T19:46:03.538Z", - "contributors": ["KTatyana", "SedovDP", "Sparks"] - }, "Web/JavaScript/Reference/Errors/More_arguments_needed": { "modified": "2020-03-12T19:46:14.923Z", "contributors": ["thepocp"] @@ -12071,6 +12063,10 @@ "modified": "2020-03-12T19:48:33.429Z", "contributors": ["ialexi-bl", "MakarovDs777"] }, + "Web/JavaScript/Reference/Errors/String_literal_EOL": { + "modified": "2020-03-12T19:48:38.047Z", + "contributors": ["MakarovDs777"] + }, "Web/JavaScript/Reference/Errors/Too_much_recursion": { "modified": "2020-03-12T19:46:15.435Z", "contributors": ["thepocp"] @@ -12079,10 +12075,6 @@ "modified": "2020-03-12T19:47:38.776Z", "contributors": ["Akh-rman", "Matthew11770"] }, - "Web/JavaScript/Reference/Errors/Undefined_prop": { - "modified": "2020-03-12T19:47:58.221Z", - "contributors": ["KTatyana"] - }, "Web/JavaScript/Reference/Errors/Unexpected_token": { "modified": "2020-03-12T19:46:02.532Z", "contributors": ["KTatyana", "NemchinovSergey", "Sparks"] @@ -12095,10 +12087,6 @@ "modified": "2020-03-12T19:48:37.361Z", "contributors": ["Akh-rman", "MakarovDs777"] }, - "Web/JavaScript/Reference/Errors/Unterminated_string_literal": { - "modified": "2020-03-12T19:48:38.047Z", - "contributors": ["MakarovDs777"] - }, "Web/JavaScript/Reference/Errors/in_operator_no_object": { "modified": "2020-03-12T19:48:40.403Z", "contributors": ["MakarovDs777"] @@ -15970,8 +15958,20 @@ "modified": "2019-03-18T20:41:47.756Z", "contributors": ["Dozorengel", "KishiTako"] }, + "conflicting/Web/JavaScript/Reference/Errors/Unexpected_token": { + "modified": "2020-03-12T19:46:03.538Z", + "contributors": ["KTatyana", "SedovDP", "Sparks"] + }, "conflicting/Web/SVG/Attribute": { "modified": "2020-10-15T22:34:58.576Z", "contributors": ["osipov_s"] + }, + "orphaned/Web/JavaScript/Reference/Errors/Equal_as_assign": { + "modified": "2020-03-12T19:48:37.445Z", + "contributors": ["MakarovDs777"] + }, + "orphaned/Web/JavaScript/Reference/Errors/Undefined_prop": { + "modified": "2020-03-12T19:47:58.221Z", + "contributors": ["KTatyana"] } } diff --git a/files/ru/web/javascript/reference/errors/missing_semicolon_before_statement/index.md b/files/ru/conflicting/web/javascript/reference/errors/unexpected_token/index.md similarity index 95% rename from files/ru/web/javascript/reference/errors/missing_semicolon_before_statement/index.md rename to files/ru/conflicting/web/javascript/reference/errors/unexpected_token/index.md index 668dacab8ba88a..37f593c61dab65 100644 --- a/files/ru/web/javascript/reference/errors/missing_semicolon_before_statement/index.md +++ b/files/ru/conflicting/web/javascript/reference/errors/unexpected_token/index.md @@ -1,6 +1,7 @@ --- title: "SyntaxError: missing ; before statement" -slug: Web/JavaScript/Reference/Errors/Missing_semicolon_before_statement +slug: conflicting/Web/JavaScript/Reference/Errors/Unexpected_token +original_slug: Web/JavaScript/Reference/Errors/Missing_semicolon_before_statement --- {{jsSidebar("Errors")}} diff --git a/files/ru/web/javascript/reference/errors/equal_as_assign/index.md b/files/ru/orphaned/web/javascript/reference/errors/equal_as_assign/index.md similarity index 94% rename from files/ru/web/javascript/reference/errors/equal_as_assign/index.md rename to files/ru/orphaned/web/javascript/reference/errors/equal_as_assign/index.md index 3711e602a39c52..af44799a3859d3 100644 --- a/files/ru/web/javascript/reference/errors/equal_as_assign/index.md +++ b/files/ru/orphaned/web/javascript/reference/errors/equal_as_assign/index.md @@ -1,6 +1,7 @@ --- title: "SyntaxError: test for equality (==) mistyped as assignment (=)?(тест на равенство (==) опечатка как присваивание (=)?)" -slug: Web/JavaScript/Reference/Errors/Equal_as_assign +slug: orphaned/Web/JavaScript/Reference/Errors/Equal_as_assign +original_slug: Web/JavaScript/Reference/Errors/Equal_as_assign --- {{jsSidebar("Errors")}} diff --git a/files/ru/web/javascript/reference/errors/undefined_prop/index.md b/files/ru/orphaned/web/javascript/reference/errors/undefined_prop/index.md similarity index 91% rename from files/ru/web/javascript/reference/errors/undefined_prop/index.md rename to files/ru/orphaned/web/javascript/reference/errors/undefined_prop/index.md index f224c2fb7df68c..2923c2065d6c98 100644 --- a/files/ru/web/javascript/reference/errors/undefined_prop/index.md +++ b/files/ru/orphaned/web/javascript/reference/errors/undefined_prop/index.md @@ -1,6 +1,7 @@ --- -title: 'ReferenceError: reference to undefined property "x"' -slug: Web/JavaScript/Reference/Errors/Undefined_prop +title: "ReferenceError: reference to undefined property \"x\"" +slug: orphaned/Web/JavaScript/Reference/Errors/Undefined_prop +original_slug: Web/JavaScript/Reference/Errors/Undefined_prop --- {{jsSidebar("Errors")}} diff --git a/files/ru/web/javascript/reference/errors/deprecated_octal/index.md b/files/ru/web/javascript/reference/errors/deprecated_octal_literal/index.md similarity index 93% rename from files/ru/web/javascript/reference/errors/deprecated_octal/index.md rename to files/ru/web/javascript/reference/errors/deprecated_octal_literal/index.md index 194b441530d27f..8993e0e501263a 100644 --- a/files/ru/web/javascript/reference/errors/deprecated_octal/index.md +++ b/files/ru/web/javascript/reference/errors/deprecated_octal_literal/index.md @@ -1,6 +1,7 @@ --- -title: 'SyntaxError: "0"-prefixed octal literals and octal escape seq. are deprecated' -slug: Web/JavaScript/Reference/Errors/Deprecated_octal +title: "SyntaxError: \"0\"-prefixed octal literals and octal escape seq. are deprecated" +slug: Web/JavaScript/Reference/Errors/Deprecated_octal_literal +original_slug: Web/JavaScript/Reference/Errors/Deprecated_octal --- {{jsSidebar("Errors")}} diff --git a/files/ru/web/javascript/reference/errors/unterminated_string_literal/index.md b/files/ru/web/javascript/reference/errors/string_literal_eol/index.md similarity index 96% rename from files/ru/web/javascript/reference/errors/unterminated_string_literal/index.md rename to files/ru/web/javascript/reference/errors/string_literal_eol/index.md index 31435b6b1573cb..3ec8d3ac1105d6 100644 --- a/files/ru/web/javascript/reference/errors/unterminated_string_literal/index.md +++ b/files/ru/web/javascript/reference/errors/string_literal_eol/index.md @@ -1,6 +1,7 @@ --- title: "SyntaxError: unterminated string literal" -slug: Web/JavaScript/Reference/Errors/Unterminated_string_literal +slug: Web/JavaScript/Reference/Errors/String_literal_EOL +original_slug: Web/JavaScript/Reference/Errors/Unterminated_string_literal l10n: sourceCommit: d71b141d2d18b96639547856714df19cefacfebf --- @@ -66,8 +67,8 @@ const longString = Ещё одна возможность — использовать [шаблонные строки](/ru/docs/Web/JavaScript/Reference/Template_literals): ```js example-good -const longString = `Это очень длинная строка, которую -необходимо разбивать на несколько строк, +const longString = `Это очень длинная строка, которую +необходимо разбивать на несколько строк, потому что иначе её трудно читать.`; ```