chore(i8n,learn): processed translations (#41364)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
This commit is contained in:
camperbot
2021-03-04 19:55:32 -07:00
committed by GitHub
parent c000c7ab11
commit d58e605825
36 changed files with 275 additions and 267 deletions

View File

@ -1,6 +1,6 @@
---
id: a77dbc43c33f39daa4429b4f
title: Boo who
title: 基本类型布尔值的检查
challengeType: 5
forumTopicId: 16000
dashedName: boo-who
@ -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

@ -49,7 +49,9 @@ if(typeof myName !== "undefined"){(function(v){return v;})(myName);}
```
## --seed-contents--
```js
```
# --solutions--

View File

@ -36,7 +36,9 @@ if(typeof a !== 'undefined') {(function(a){return "a = " + a;})(a);} else { (fun
```
## --seed-contents--
```js
```
# --solutions--

View File

@ -1,6 +1,6 @@
---
id: bd7993c9c69feddfaeb7bdef
title: Multiply Two Decimals with JavaScript
title: 两个小数相乘
challengeType: 1
videoUrl: 'https://scrimba.com/c/ce2GeHq'
forumTopicId: 301173
@ -9,23 +9,23 @@ dashedName: multiply-two-decimals-with-javascript
# --description--
In JavaScript, you can also perform calculations with decimal numbers, just like whole numbers.
JavaScript 中,你也可以用小数进行计算,就像整数一样。
Let's multiply two decimals together to get their product.
把两个小数相乘,并得到它们乘积。
# --instructions--
Change the `0.0` so that product will equal `5.0`.
改变 `0.0` 的数值让变量 product 的值等于 `5.0`
# --hints--
The variable `product` should equal `5.0`.
变量 `product` 应该等于 `5.0`
```js
assert(product === 5.0);
```
You should use the `*` operator
要使用`*`运算符。
```js
assert(/\*/.test(code));