Having Trouble With This Codewars Problem Javascript The

Having Trouble With This Codewars Problem Javascript The