Lodash - rvdegroen/notes GitHub Wiki

Table of contents

What is Lodash?

The Lodash website explains that: "Lodash makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc. Lodash’s modular methods are great for: Iterating arrays, objects, & strings, Manipulating & testing values and Creating composite functions".

This should also explain why we used Lodash: to make our life a bit easier.

What did we use Lodash for?

We only used Throttle. On this website it is stated that "throttle reates a throttled function that only invokes func at most once per every wait milliseconds".

The structure of throttle is as following: _.throttle(func, [wait=0], [options={}])

Sources