- Continue practicing test-driven development (TDD) - both the process and the tools you'll be using to do it from now until the end of the course (and beyond).
- Get an 'inside view' of one of the most heavily used JavaScript libraries, lodash (50m downloads on NPM last month).
- Lay the foundations for understanding the functional style of programming that JS lends itself so well to.
On this sprint we'll implement lowbar.js, our own version of the popular utilities library lodash.js. The methods you should implement are listed below, but feel free to implement any others you find interesting if you finish.
These are the core functions you should aim to get finished. Note that some of these names will look familiar, but you need to check the documentation as they may offer additional functionality.
• identity
• take
• uniq
• forEach
• map
• filter
• reduce
• once
• before
• spread
• after
• overArgs
You should be heavily referencing the APIs of the following:
• chunk
• remove
• shuffle
• conformsTo
• sortedIndex
• sortBy
• difference
• intersection
• delay
• partial
• memoize NOTE: You do not need to attempt the second argument (resolver) or making the cache property available.
• invoke
• invokeMap