Created
January 6, 2021 06:44
-
-
Save ubermachine/d17a8759e9bc779e25bced4b3f04329c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function range(start,end) { | |
if(start&&end){ | |
return Array.from({length:end-start+1},(_,i)=>start++) | |
} | |
} | |
range(3,8); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment