In file boo-who.russian.md change translate to correct russian (#39689)
This commit is contained in:
committed by
GitHub
parent
da7d290bc1
commit
69ccca0d73
@ -7,16 +7,19 @@ localeTitle: Бу, кто
|
|||||||
---
|
---
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
<section id='description'>
|
<section id='description'>
|
||||||
Проверьте, классифицировано ли значение как булевский примитив. Вернуть true или false. Булевы примитивы являются истинными и ложными. Не забудьте использовать <a href="https://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck-coding/19514" target="_blank">Read-Search-Ask,</a> если вы застряли. Попробуйте подключить программу. Напишите свой собственный код.
|
Проверьте, классифицировано ли значение как булевый примитив. Вернет true или false. Булевые примитивы являются истинными или ложными. Не забудьте использовать <a href="https://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck-coding/19514" target="_blank">Read-Search-Ask,</a> если вы застряли. Попробуйте запустить программу. Напишите свой собственный код. <!--Fix this line to view correct russian translate-->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
|
||||||
<section id='instructions'>
|
<section id='instructions'>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
<section id='tests'>
|
<section id='tests'>
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
@ -41,12 +44,12 @@ tests:
|
|||||||
testString: assert.strictEqual(booWho("true"), false);
|
testString: assert.strictEqual(booWho("true"), false);
|
||||||
- text: <code>booWho("false")</code> should return false.
|
- text: <code>booWho("false")</code> should return false.
|
||||||
testString: assert.strictEqual(booWho("false"), false);
|
testString: assert.strictEqual(booWho("false"), false);
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
## Challenge Seed
|
## Challenge Seed
|
||||||
|
|
||||||
<section id='challengeSeed'>
|
<section id='challengeSeed'>
|
||||||
|
|
||||||
<div id='js-seed'>
|
<div id='js-seed'>
|
||||||
@ -58,7 +61,6 @@ function booWho(bool) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
booWho(null);
|
booWho(null);
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -66,11 +68,12 @@ booWho(null);
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
## Solution
|
## Solution
|
||||||
|
|
||||||
<section id='solution'>
|
<section id='solution'>
|
||||||
|
|
||||||
```js
|
```js
|
||||||
function booWho(bool) {
|
function booWho(bool) {
|
||||||
return typeof bool === "boolean";
|
return typeof bool === 'boolean';
|
||||||
}
|
}
|
||||||
|
|
||||||
booWho(null);
|
booWho(null);
|
||||||
|
Reference in New Issue
Block a user