Russian translation adjusted (#31367)
This commit is contained in:
committed by
Randell Dawson
parent
3e817a763e
commit
7f164bdcf6
@ -3,7 +3,7 @@ id: bd7123c9c441eddfaeb4bdef
|
|||||||
title: Comment Your JavaScript Code
|
title: Comment Your JavaScript Code
|
||||||
challengeType: 1
|
challengeType: 1
|
||||||
videoUrl: ''
|
videoUrl: ''
|
||||||
localeTitle: Комментарий
|
localeTitle: Комментарии в коде
|
||||||
---
|
---
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
@ -23,9 +23,9 @@ localeTitle: Комментарий
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
tests:
|
tests:
|
||||||
- text: 'Создайте комментарий вида <code>//</code>, содержащий не менее пяти букв.'
|
- text: 'Создайте однострочный комментарий <code>//</code> , содержащий не менее пяти букв.'
|
||||||
testString: 'assert(code.match(/(\/\/)...../g), "Create a <code>//</code> style comment that contains at least five letters.");'
|
testString: 'assert(code.match(/(\/\/)...../g), "Create a <code>//</code> style comment that contains at least five letters.");'
|
||||||
- text: 'Создайте комментарий вида <code>/* */</code>, содержащий не менее пяти букв.'
|
- text: 'Создайте многострочный комментарий <code>/* */</code> , содержащий не менее пяти букв.'
|
||||||
testString: 'assert(code.match(/(\/\*)([^\/]{5,})(?=\*\/)/gm), "Create a <code>/* */</code> style comment that contains at least five letters.");'
|
testString: 'assert(code.match(/(\/\*)([^\/]{5,})(?=\*\/)/gm), "Create a <code>/* */</code> style comment that contains at least five letters.");'
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -51,6 +51,9 @@ tests:
|
|||||||
<section id='solution'>
|
<section id='solution'>
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// solution required
|
// Однострочный комментарий
|
||||||
|
/*
|
||||||
|
Многострочный комментарий
|
||||||
|
*/
|
||||||
```
|
```
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user