Smokeball Interview Question

Simple JS coding challenge on Github