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 JS bootcamps likely stopped teaching this after ES6 came out, so I guess this is now a looking things up for yourself instead of being told exercise. TO NOTE: contexts of keywords and "prototype".
@darymc, just sleep on it. You're not missing the part of it I'm talking about, but the people you're responding to have.
did this ever get answered? because I'm lost on this one
There is no issue with the kata, but there is one with your code.
This comment is hidden because it contains spoiler information about the solution
that is the same thing i have been wondering man
I have never encountered this way of defining functions, it's confusing... Where is the parameter? how do you call such function? Can someone pls come to my aid? Thank you..
Can you pls take a look @ my code?
Your code is not case-insensitive. So it doesn't work there either, you just didn't check it with the same input values.
Why do you say it should be false? That is indeed a pangram.
Your code is not case-insensitive.
My code passed the example test but failed the random test even though it's giving the correct result on my system. For example, this test is meant to be false, 'Pack my box with five dozen liquor jugs.', but the random test is expecting true. Does anyone know where I might have gotten it wrong?
That's because in the sample tests the max/min value is always the last one in the given list. Your code returns either the last or the second-to-last value of the list.
Don't feel bad if you are a beginner I think it's most important to learn how to solve problems first before learning how to solve with a clever solution. Welldone and keep going!
Smart!!
Welldone, I never knew you can chain multiple cases with ternary operator
My code passed the task test but fails the random test, where could I have gone wrong?