chore(i18n,curriculum): processed translations (#42258)

This commit is contained in:
camperbot
2021-05-26 07:30:54 -07:00
committed by GitHub
parent 8ac8772da1
commit 587f89b1d7
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ numbers.splice(startIndex, amountToDelete, 13, 14);
console.log(numbers);
```
`12` 的第二個條目已被刪除,我們在同一索引處添加 `13``14``numbers` 數組現在將會是 `[ 10, 11, 12, 13, 14, 15 ]`
第二個 `12` 已被刪除,我們在同一索引處添加 `13``14``numbers` 數組現在將會是 `[ 10, 11, 12, 13, 14, 15 ]`
在上面的代碼中,數組一開始包含了若干數字。 接着,我們調用 `splice()` 方法,索引爲 (3) 的地方開始刪除元素,刪除的元素數量是 (1)。然後,(13, 14) 是在刪除位置插入的元素。 可以在 `amountToDelete` 後面傳入任意數量的元素(以逗號分隔),每個都會被插入到數組中。