sprintf tests (JavaScript)

This page contains ~180 tests for sprintf. The tests should run automatically on page-load.