Thoughtworks Interview Question

TDD method of devleopment in Javascript