Ad
  • Custom User Avatar

    Imagine yourself at a job interview. You are given a task and one of the requirements is to raise an error if division by zero occurs. Instead of completing the task, you tell the interviewer that there are no zero-division-errors in JavaScript. Do you think the interviewer will accept this answer?

    I have modified the description to be more universally acceptable for multi-language kata.

  • Custom User Avatar

    I'm getting the divide by 0 returns wrong because I'm returning infinity and not the ZeroDivisionError, which as far as I can tell doesn't exist in javascript.