diff options
author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-03-18 02:37:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 02:37:24 +0300 |
commit | 57e0abae4196d5e89486fa87171e12dd14f78584 (patch) | |
tree | 2180ef5a575f698475f078e4a05b746a09399b0d /files/ru/web/javascript/reference/global_objects/array/flat | |
parent | 242f0b78b42992e2e1c961fa81172f364d2be6ca (diff) | |
download | translated-content-57e0abae4196d5e89486fa87171e12dd14f78584.tar.gz translated-content-57e0abae4196d5e89486fa87171e12dd14f78584.tar.bz2 translated-content-57e0abae4196d5e89486fa87171e12dd14f78584.zip |
Fix various typos (#203)
* Fix various typos
* Auto fixes
* Apply suggestions from code review
Co-authored-by: Artem Shibakov <shibakow@gmail.com>
* Apply suggestions from code review
Co-authored-by: Artem Shibakov <shibakow@gmail.com>
Co-authored-by: Artem Shibakov <shibakow@gmail.com>
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/array/flat')
-rw-r--r-- | files/ru/web/javascript/reference/global_objects/array/flat/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/array/flat/index.html b/files/ru/web/javascript/reference/global_objects/array/flat/index.html index f8f27c247b..236fa402fa 100644 --- a/files/ru/web/javascript/reference/global_objects/array/flat/index.html +++ b/files/ru/web/javascript/reference/global_objects/array/flat/index.html @@ -76,7 +76,7 @@ arr1.reduce((acc, val) => acc.concat(val), []);// [1, 2, 3, 4] const flatSingle = arr => [].concat(...arr); </pre> -<pre class="brush: js notranslate">// Для развёртвания многомерных массивов используем рекурсию, reduce и concat +<pre class="brush: js notranslate">// Для развертывания многомерных массивов используем рекурсию, reduce и concat const arr = [1, 2, [3, 4, [5, 6]]]; function flatDeep(arr, d = 1) { |