how to range function in javascript code example Example: range javascript [...Array(5).keys()]; => [0, 1, 2, 3, 4]