Update snippets/arithmeticProgression.md

This commit is contained in:
Angelos Chalaris
2020-10-04 11:57:22 +03:00
committed by GitHub
parent e49bddee01
commit 8e19dd1335

View File

@ -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.