Python's range(from, to, steps) in JavaScript.