Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

range number in js

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