chore(i18n,curriculum): processed translations (#42530)
parent
e5505cbe7b
commit
b793107de6
|
@ -40,7 +40,7 @@ assert(
|
|||
`nonMutatingSort(globalArray)` 不應被硬編碼。
|
||||
|
||||
```js
|
||||
assert(!nonMutatingSort.toString().match(/[23569]/g));
|
||||
assert(!nonMutatingSort.toString().match(/\[.*?[23569].*?\]/gs));
|
||||
```
|
||||
|
||||
函數應該返回一個新數組,而不是傳遞給它的數組。
|
||||
|
|
|
@ -40,7 +40,7 @@ assert(
|
|||
`nonMutatingSort(globalArray)` 不应被硬编码。
|
||||
|
||||
```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.
|
||||
|
||||
```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.
|
||||
|
|
|
@ -40,7 +40,7 @@ assert(
|
|||
`nonMutatingSort(globalArray)` non dovrebbe essere "hard coded" (cioè codificato esplicitamente nel codice).
|
||||
|
||||
```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.
|
||||
|
|
Loading…
Reference in New Issue