Makers Academy Week 2 challenge - rewriting the inject method for Array class