Python-like range(from, to, steps) in JavaScript.