Test driven development

A practical and fun way for me to learn test driven development was recreating the native array methods from Javascript. First reading and disecting the method documentation from developer.mozilla.org and then writing the actual tests and edge cases. While doing this, my understanding of array methods grew as well. What better way to understand a forEach method, but to build and test it yourself, right?