chore(i18n,curriculum): processed translations (#42258)
This commit is contained in:
@@ -27,7 +27,7 @@ dashedName: link-to-internal-sections-of-a-page-with-anchor-elements
|
||||
|
||||
通過修改 `href` 屬性值爲 `"#footer"`,同時修改文本 `cat photos` 爲 `Jump to Bottom`,來更改外部鏈接爲內部鏈接。
|
||||
|
||||
然後添加一個 `<footer>` 元素,並將它的 `id` 屬性值設置爲 `footer`。
|
||||
從錨點標籤中刪除 `target="_blank"` 屬性,因爲這會導致鏈接文檔在新窗口標籤中打開。
|
||||
|
||||
然後給頁面底部的 `<footer>` 元素添加一個 `id` 屬性,值爲 `footer`。
|
||||
|
||||
|
@@ -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` 後面傳入任意數量的元素(以逗號分隔),每個都會被插入到數組中。
|
||||
|
||||
|
Reference in New Issue
Block a user