diff --git a/snippets/arithmeticProgression.md b/snippets/arithmeticProgression.md index 601dd97ec..688a67a1a 100644 --- a/snippets/arithmeticProgression.md +++ b/snippets/arithmeticProgression.md @@ -3,7 +3,7 @@ title: arithmeticProgression tags: math,array,beginner --- -Returns a array of numbers in the arithmetic progression starting with the given positive integer and up to the specified limit. +Returns an array of numbers in the arithmetic progression starting with the given positive integer and up to the specified limit. - Use `Array.from()` to create an array of the desired length, `lim/n`, and a map function to fill it with the desired values in the given range.