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
lodash-chunk
node v14.20.1
version:
1.0.0
endpoint
share
tweet
var _ = require("lodash@4.17.15") _.assign(global, require("lodash-doc-globals")) Object.observe = _.noop _.chunk(['a', 'b', 'c', 'd'], 2); // => [['a', 'b'], ['c', 'd']] _.chunk(['a', 'b', 'c', 'd'], 3); // => [['a', 'b', 'c'], ['d']]
Loading…
no comments
sign in
to comment