This system implements a simple function taking from this coding challenge.
This system implements Jasmine tests. To see the tests, display the SpecRunner.html file in a browser. Here is an example of successfully invoked tests:
Simply download the file and invoke the position() function. See the test code for details.
Thanks to Jasmine for test framework.