Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
Underscore range is silly.
node v6.17.1
version:
2.0.0
endpoint
share
tweet
const _ = require('underscore'); const range1 = _.range(1, 3); _(range1).map((i) => i)
const range2 = _.range('1', '3'); _(range2).map((i) => i)
Loading…
no comments
sign in
to comment