Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The ternary expression evaluates whether the argument
bool
is true or false, returning "Yes" if the former and "No" if the latter.Thank you!
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!
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.)