Sign in / Sign up
Replace your loops by Array methods - map()
In the last article, I wrote about forEach() method. In these, I will show you the map() method :)
Replace your loops by Array methods
It is very common to use loops on our codes, when we work with big amounts of data.
Configuring Webpack to write JS with ES6/ES2015 on browser
You can use Webpack instead Grunt or Gulp. It is a module bundler, that, without plugins, helps you to use AMD or CommonJS modules easily.
Using slice() to copy an array
Daily JS Tips