.oOo.A simple JS range one-linerconst range=n=>[...Array(n).keys()]
const range=n=>[...Array(n).keys()]
.oOo.