BugHunt
Function returning undefined prematurely — JavaScript debugging challenge | BugHunt