Today I was wondering how to use range in javascript without a dependency on lodash. With ECMAScript 6 you can do this rather easy. Below 2 examples:

Supported in Chrome 46, FF 16, Edge and Safari 7.1

MDN page on spreads

Leave a Reply

Your email address will not be published. Required fields are marked *