This is a project I completed as a student at Hack Reactor. The project is a minimal functional library for JavaScript, similar to underscore or lodash.:
- _.first()
- _.last()
- _.each()
- _.indexOf()
- _.filter()
- _.reject()
- _.uniq()
- _.map()
- _.pluck()
- _.reduce()
- _.contains()
- _.every()
- _.some()
- _.shuffle()
- _.sortBy()
- _.zip()
- _.flatten()
- _.intersection()
- _.difference()
- _.invoke()
- _.extend()
- _.defaults()
- _.once()
- _.memoize()
- _.delay()
- _.shuffle()
- _.throttle()
Mocha tests are located in the ./spec directory. To run, open SpecRunner.html with your preferred browser.