From c1d2e0de0952bc7f68b866ed5f3ef589f75fd0a2 Mon Sep 17 00:00:00 2001 From: Yudong Jin Date: Sun, 27 Nov 2022 20:16:41 +0800 Subject: [PATCH] Modify a naming of JavaScript. --- docs/chapter_array_and_linkedlist/array.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/chapter_array_and_linkedlist/array.md b/docs/chapter_array_and_linkedlist/array.md index e6bff70..44cafd3 100644 --- a/docs/chapter_array_and_linkedlist/array.md +++ b/docs/chapter_array_and_linkedlist/array.md @@ -24,7 +24,7 @@ comments: true int[] nums = { 1, 3, 2, 5, 4 }; ``` -=== "Javascript" +=== "JavaScript" ```javascript title="array.javascript" /* 初始化数组 */ @@ -77,7 +77,7 @@ elementAddr = firtstElementAddr + elementLength * elementIndex } ``` -=== "Javascript" +=== "JavaScript" ```javascript title="array.javascript" /* 随机返回一个数组元素 */ @@ -135,7 +135,7 @@ elementAddr = firtstElementAddr + elementLength * elementIndex } ``` -=== "Javascript" +=== "JavaScript" ```javascript title="array.javascript" /* 扩展数组长度 */ @@ -215,7 +215,7 @@ elementAddr = firtstElementAddr + elementLength * elementIndex } ``` -=== "Javascript" +=== "JavaScript" ```javascript title="array.javascript" /* 在数组的索引 index 处插入元素 num */ @@ -298,7 +298,7 @@ elementAddr = firtstElementAddr + elementLength * elementIndex } ``` -=== "Javascript" +=== "JavaScript" ```javascript title="array.javascript" /* 遍历数组 */ @@ -357,7 +357,7 @@ elementAddr = firtstElementAddr + elementLength * elementIndex } ``` -=== "Javascript" +=== "JavaScript" ```javascript title="array.javascript" /* 在数组中查找指定元素 */