fix(curriculum, i18n): solve issues in crowdin comments (#46597)

This commit is contained in:
Ilenia
2022-06-21 16:23:13 +02:00
committed by GitHub
parent 66df8e71aa
commit 59abda3ff2
14 changed files with 26 additions and 24 deletions

View File

@@ -39,7 +39,7 @@ You should use two double quotes (`"`) and four escaped double quotes (`\"`).
assert(code.match(/\\"/g).length === 4 && code.match(/[^\\]"/g).length === 2);
```
Variable myStr should contain the string: `I am a "double quoted" string inside "double quotes".`
Variable `myStr` should contain the string: `I am a "double quoted" string inside "double quotes".`
```js
assert(/I am a "double quoted" string inside "double quotes(\."|"\.)$/.test(myStr));

View File

@@ -21,7 +21,7 @@ do {
} while (i < 5);
```
The example above behaves similar to other types of loops, and the resulting array will look like `[0, 1, 2, 3, 4]`. However, what makes the `do...while` different from other loops is how it behaves when the condition fails on the first check. Let's see this in action: Here is a regular `while` loop that will run the code in the loop as long as `i < 5`:
The example above behaves similar to other types of loops, and the resulting array will look like `[0, 1, 2, 3, 4]`. However, what makes the `do...while` different from other loops is how it behaves when the condition fails on the first check. Let's see this in action. Here is a regular `while` loop that will run the code in the loop as long as `i < 5`:
```js
const ourArray = [];