Tuesday, 2 May 2017

Lodash doesn't work with NPM

I get an issue using lodash with NPM.

My code :

var _ = require('lodash');
console.log(_.chunk(['1','2','3','4'], 3));

Response : _.chunk is not a function

Lodash version : latest : 4.17.4



via tonymx227

No comments:

Post a Comment