The other comment points out Array.from, which seems pretty nifty. Have not seen it before. I would have used:
for(i of Array(1000).keys()) { doSomething() }
or [...Array(1000)].forEach(() => doSomething())