range of elemtns javascript code example Example: range javascript [...Array(5).keys()]; => [0, 1, 2, 3, 4]