Codewars 7 kyu 'X' Marks the Spot. Javascript

Published --