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

This commit is contained in:
camperbot
2022-10-18 08:29:49 +01:00
committed by GitHub
parent e22f87a085
commit 41bbc30b94
6193 changed files with 34024 additions and 29301 deletions

View File

@@ -8,7 +8,7 @@ dashedName: falsy-bouncer
# --description--
Entferne alle fehlerhaften Werte aus einem Array.
Entferne alle fehlerhaften Werte aus einem Array. Gibt ein neues Array zurück; verändere nicht das ursprüngliche Array.
Folgendes sind fehlerhafte Werte in JavaScript: `false`, `null`, `0`, `""`, `undefined`, und `NaN`.
@@ -40,6 +40,14 @@ assert.deepEqual(bouncer([false, null, 0, NaN, undefined, '']), []);
assert.deepEqual(bouncer([null, NaN, 1, 2, undefined]), [1, 2]);
```
`arr` sollte nicht verändert werden.
```js
const arr = ['a', false, 0, 'Naomi'];
bouncer(arr);
assert.deepEqual(arr, ['a', false, 0, 'Naomi'])
```
# --seed--
## --seed-contents--