From 1a6663086945c4997ecae0808cbf32b389fe0737 Mon Sep 17 00:00:00 2001 From: sajwan05 Date: Mon, 23 Mar 2026 00:04:47 +0530 Subject: [PATCH 1/2] Change uppercase to capitalize --- 1-js/05-data-types/05-array-methods/1-camelcase/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/05-array-methods/1-camelcase/task.md b/1-js/05-data-types/05-array-methods/1-camelcase/task.md index ef5944636e..d48443e799 100644 --- a/1-js/05-data-types/05-array-methods/1-camelcase/task.md +++ b/1-js/05-data-types/05-array-methods/1-camelcase/task.md @@ -6,7 +6,7 @@ importance: 5 Write the function `camelize(str)` that changes dash-separated words like "my-short-string" into camel-cased "myShortString". -That is: removes all dashes, each word after dash becomes uppercased. +That is: removes all dashes, each word after dash becomes capitalize. Examples: From b50d40b191ec0408af2461579f18982555bb74b4 Mon Sep 17 00:00:00 2001 From: sajwan05 Date: Mon, 23 Mar 2026 00:26:15 +0530 Subject: [PATCH 2/2] Change number to index in Loop section --- 1-js/05-data-types/04-array/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/04-array/article.md b/1-js/05-data-types/04-array/article.md index 629a7c77f9..976a397bed 100644 --- a/1-js/05-data-types/04-array/article.md +++ b/1-js/05-data-types/04-array/article.md @@ -334,7 +334,7 @@ for (let fruit of fruits) { } ``` -The `for..of` doesn't give access to the number of the current element, just its value, but in most cases that's enough. And it's shorter. +The `for..of` doesn't give access to the index of the current element, just its value, but in most cases that's enough. And it's shorter. Technically, because arrays are objects, it is also possible to use `for..in`: