0
kicks
Test-Driving a new feature for JavaScript
But, instead of going through the normal trial and error approach, I chose to flex my TDD muscle and try to create the Array.indexOf method using a test-first routine. For this exercise, I chose QUnit as the unit testing framework.