I wanna build up an function where it checks which numbers are reachable… like
const number = 720
let arrayNumbers = []
let count = 30
arrayNumbers = arrayNumbers / 30
arrayNumbers is equal then to [24]
But i wanna have it like
[30, 60, 90, 120 ...]
like an incrementing array.
does anybody have a clue how i can reach this?