chore(i18n,learn): processed translations (#48686)

This commit is contained in:
camperbot
2022-12-07 08:19:56 -08:00
committed by GitHub
parent 8a0fc793d0
commit 15c122480f
34 changed files with 129 additions and 129 deletions

View File

@@ -23,7 +23,7 @@ Schreibe dein eigenes `Array.prototype.myMap()`, welches sich genau wie `Array.p
`[23, 65, 98, 5, 13].myMap(item => item * 2)` should equal `[46, 130, 196, 10, 26]`.
```js
const _test_s = [46, 130, 196, 10, 13];
const _test_s = [23, 65, 98, 5, 13];
const _callback = item => item * 2;
assert(JSON.stringify(_test_s.map(_callback)) === JSON.stringify(_test_s.myMap(_callback)));
```
@@ -36,7 +36,7 @@ const _callback = element => element.toUpperCase();
assert(JSON.stringify(_test_s.map(_callback)) === JSON.stringify(_test_s.myMap(_callback)));
```
`[1, 1, 2, 5, 2].myMap((element, index, array) => array[i + 1] || array[0])` should return `[1, 2, 5, 2, 1]`.
`[1, 1, 2, 5, 2].myMap((element, index, array) => array[index + 1] || array[0])` should return `[1, 2, 5, 2, 1]`.
```js
const _test_s = [1, 1, 2, 5, 2];