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

Co-authored-by: Naomi <nhcarrigan@gmail.com>
This commit is contained in:
freeCodeCamp's Camper Bot
2024-04-26 10:56:37 +05:30
committed by GitHub
parent adfb87e898
commit e6b05ee25d
2107 changed files with 8339 additions and 3516 deletions

View File

@@ -87,7 +87,7 @@ assert(confirmEnding('Abstraction', 'action') === true);
Your code should not use the built-in method `.endsWith()` to solve the challenge.
```js
assert(!/\.endsWith\(.*?\)\s*?;?/.test(code) && !/\['endsWith'\]/.test(code));
assert(!/\.endsWith\(.*?\)\s*?;?/.test(__helpers.removeJSComments(code)) && !/\['endsWith'\]/.test(__helpers.removeJSComments(code)));
```
# --seed--

View File

@@ -51,7 +51,7 @@ assert(repeatStringNumTimes('abc', -2) === '');
The built-in `repeat()` method should not be used.
```js
assert(!/\.repeat/g.test(code));
assert(!/\.repeat/g.test(__helpers.removeJSComments(code)));
```
`repeatStringNumTimes("abc", 0)` should return `""`.