Ad
  • Custom User Avatar

    The ternary expression evaluates whether the argument bool is true or false, returning "Yes" if the former and "No" if the latter.

  • Custom User Avatar
  • Custom User Avatar

    My code passed the first 6 tests but oddly doesn't pass the 7th (which seems identical to the first...)
    My error message:
    For the quadratic equation: 0x2 + 2x + 3, expected: x = -1.5 ([-1.5]); got: found values: x = undefined (-1.5)

    Not sure where I'm going wrong here...
    Thank you in advance for any help!

  • Custom User Avatar

    I'm kind of a beginner, and came up with a solution without the .split, .map, or .join methods and callbacks...but I would LOVE to put these into practice, like some of the elegant solutions I've looked at.

    Can anyone suggest kata that would allow me to practice callbacks and methods like these? (I looked at the best solution and understand it conceptually, but would like to try to do the same several more times.)