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.
Thanks Chrono, that made the console.log work and showed me why it's failing.
Apparently it's failing on an empty string, which I thought since it wasn't testing for null, it wouldn't matter.
I just learned something! An empty string '' !== null
My code passes the sample tests, it's when I "attempt" that I get the error.
Apologies for not putting my code up front, but it's up there now (under a spoiler tag). It's the one out of however many dozens or hundreds of test that is failing upon "Attempt". And it always fails after a string with exactly five spaces in it (the next test, which I didn't copy/paste has more than five spaces, and it passes), and it since the console.log does not run, I'm assuming the test is flawed somehow.
This comment is hidden because it contains spoiler information about the solution
Here's a you look at how every other test prints, to give a better view of the anamoly..
Log
Mazinkaiser
Test Passed: Value == true
Log
hello world_
Test Passed: Value == false
Log
PassW0rd
Test Passed: Value == true
Log
Test Passed: Value == false
Expected: false, instead got: true
See? It's saying, "Test passed", then immediately "Expected false"... My code shouldn't be able to pass and then fail?
Again, the blank log is five whitespaces. Any other number of whitespaces passes the test.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution