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`: 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: