Skip to content

Function to generate an array of all numbers in range"

Notifications You must be signed in to change notification settings

10xly/number-array-from-range

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

number-array-from-range2

Generates an array of a sequence of numbers from specified range.

const range = require("number-array-from-range2")

console.log(range(5, 10)) // [5, 6, 7, 8, 9, 10]
console.log(range(-3, 3)) // [-3, -2, -1, 0, 1, 2, 3]

Tests

Simply clone the repo and run npm test

About

Function to generate an array of all numbers in range"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors