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

This commit is contained in:
freeCodeCamp's Camper Bot
2024-05-22 20:57:37 +05:30
committed by GitHub
parent c2ad373b90
commit 0b16d2ce96
4623 changed files with 275997 additions and 8210 deletions

View File

@@ -8,67 +8,67 @@ dashedName: boo-who
# --description--
Check if a value is classified as a boolean primitive. Return `true` or `false`.
값이 불리언(boolean) 원시 값으로 분류되는지 확인해보세요. `true` 또는 `false`를 반환합니다.
Boolean primitives are `true` and `false`.
불리언 원시 값의 종류로는 `true` `false`가 있습니다.
# --hints--
`booWho(true)` should return `true`.
`booWho(true)``true`를 반환해야 합니다.
```js
assert.strictEqual(booWho(true), true);
```
`booWho(false)` should return `true`.
`booWho(false)``true`를 반환해야 합니다.
```js
assert.strictEqual(booWho(false), true);
```
`booWho([1, 2, 3])` should return `false`.
`booWho([1, 2, 3])``false`를 반환해야 합니다.
```js
assert.strictEqual(booWho([1, 2, 3]), false);
```
`booWho([].slice)` should return `false`.
`booWho([].slice)` `false`를 반환합니다.
```js
assert.strictEqual(booWho([].slice), false);
```
`booWho({ "a": 1 })` should return `false`.
`booWho({ "a": 1 })` `false`를 반환합니다.
```js
assert.strictEqual(booWho({ a: 1 }), false);
```
`booWho(1)` should return `false`.
`booWho(1)``false`를 반환해야 합니다.
```js
assert.strictEqual(booWho(1), false);
```
`booWho(NaN)` should return `false`.
`booWho(NaN)` `false`를 반환합니다.
```js
assert.strictEqual(booWho(NaN), false);
```
`booWho("a")` should return `false`.
`booWho("a")``false`를 반환해야 합니다.
```js
assert.strictEqual(booWho('a'), false);
```
`booWho("true")` should return `false`.
`booWho("true")``false`를 반환해야 합니다.
```js
assert.strictEqual(booWho('true'), false);
```
`booWho("false")` should return `false`.
`booWho("false")``false`를 반환해야 합니다.
```js
assert.strictEqual(booWho('false'), false);

View File

@@ -1,6 +1,6 @@
---
id: adf08ec01beb4f99fc7a68f2
title: Falsy Bouncer
title: 거짓값 바운서
challengeType: 1
forumTopicId: 16014
dashedName: falsy-bouncer
@@ -8,39 +8,39 @@ dashedName: falsy-bouncer
# --description--
Remove all falsy values from an array. Return a new array; do not mutate the original array.
배열로부터 모든 거짓값들을 제거하시오. 기존 배열을 변형하지 않으면서 새로운 배열을 반환하시오.
Falsy values in JavaScript are `false`, `null`, `0`, `""`, `undefined`, and `NaN`.
자바스크립트에서 거짓값들은 `false`, `null`, `0`, `""`, `undefined`, 그리고 `NaN`입니다.
Hint: Try converting each value to a Boolean.
힌트: 모든 값들을 불리언으로 변환해보세요.
# --hints--
`bouncer([7, "ate", "", false, 9])` should return `[7, "ate", 9]`.
`bouncer([7, "ate", "", false, 9])` `[7, "ate", 9]`을 반환해야 합니다.
```js
assert.deepEqual(bouncer([7, 'ate', '', false, 9]), [7, 'ate', 9]);
```
`bouncer(["a", "b", "c"])` should return `["a", "b", "c"]`.
`bouncer(["a", "b", "c"])` `["a", "b", "c"]`을 반환해야 합니다.
```js
assert.deepEqual(bouncer(['a', 'b', 'c']), ['a', 'b', 'c']);
```
`bouncer([false, null, 0, NaN, undefined, ""])` should return `[]`.
`bouncer([false, null, 0, NaN, undefined, ""])``[]`을 반환해야 합니다.
```js
assert.deepEqual(bouncer([false, null, 0, NaN, undefined, '']), []);
```
`bouncer([null, NaN, 1, 2, undefined])` should return `[1, 2]`.
`bouncer([null, NaN, 1, 2, undefined])` `[1, 2]`을 반환해야 합니다.
```js
assert.deepEqual(bouncer([null, NaN, 1, 2, undefined]), [1, 2]);
```
You should not mutate `arr`.
`arr`을 변형시키지 말아야 합니다.
```js
const arr = ['a', false, 0, 'Naomi'];