See More

function divide(numerator, denominator) { if (denominator == 0) { throw new Error("Division by zero."); } return numerator / denominator; }