/position

Implements a coding challenge.

Primary LanguageJavaScript

Overview

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:

screenshot

Usage

Simply download the file and invoke the position() function. See the test code for details.

Credits

Thanks to Jasmine for test framework.