chore(i18n,curriculum): processed translations (#42530)
This commit is contained in:
@ -40,7 +40,7 @@ assert(
|
|||||||
`nonMutatingSort(globalArray)` 不應被硬編碼。
|
`nonMutatingSort(globalArray)` 不應被硬編碼。
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(!nonMutatingSort.toString().match(/[23569]/g));
|
assert(!nonMutatingSort.toString().match(/\[.*?[23569].*?\]/gs));
|
||||||
```
|
```
|
||||||
|
|
||||||
函數應該返回一個新數組,而不是傳遞給它的數組。
|
函數應該返回一個新數組,而不是傳遞給它的數組。
|
||||||
|
@ -40,7 +40,7 @@ assert(
|
|||||||
`nonMutatingSort(globalArray)` 不应被硬编码。
|
`nonMutatingSort(globalArray)` 不应被硬编码。
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(!nonMutatingSort.toString().match(/[23569]/g));
|
assert(!nonMutatingSort.toString().match(/\[.*?[23569].*?\]/gs));
|
||||||
```
|
```
|
||||||
|
|
||||||
函数应该返回一个新数组,而不是传递给它的数组。
|
函数应该返回一个新数组,而不是传递给它的数组。
|
||||||
|
@ -40,7 +40,7 @@ assert(
|
|||||||
`nonMutatingSort(globalArray)` no debe ser programada manualmente.
|
`nonMutatingSort(globalArray)` no debe ser programada manualmente.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(!nonMutatingSort.toString().match(/[23569]/g));
|
assert(!nonMutatingSort.toString().match(/\[.*?[23569].*?\]/gs));
|
||||||
```
|
```
|
||||||
|
|
||||||
La función debe devolver un nuevo arreglo, no el arreglo que se le pasa.
|
La función debe devolver un nuevo arreglo, no el arreglo que se le pasa.
|
||||||
|
@ -40,7 +40,7 @@ assert(
|
|||||||
`nonMutatingSort(globalArray)` non dovrebbe essere "hard coded" (cioè codificato esplicitamente nel codice).
|
`nonMutatingSort(globalArray)` non dovrebbe essere "hard coded" (cioè codificato esplicitamente nel codice).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(!nonMutatingSort.toString().match(/[23569]/g));
|
assert(!nonMutatingSort.toString().match(/\[.*?[23569].*?\]/gs));
|
||||||
```
|
```
|
||||||
|
|
||||||
La funzione dovrebbe restituire un nuovo array, non l'array originale che le viene passato.
|
La funzione dovrebbe restituire un nuovo array, non l'array originale che le viene passato.
|
||||||
|
Reference in New Issue
Block a user