Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

range number in js

[...Array(5).keys()]	// [0, 1, 2, 3, 4]
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #range #number #js
ADD COMMENT
Topic
Name
7+5 =