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.
Yep, looks much more sexier, thanks.
This comment is hidden because it contains spoiler information about the solution
doh! thank you
thanks for the translation, but
getting a lot of InvalidBond and UnlockedMolecule is not defined errors in what appears to be the Test Suite. Forgive me if I am just being stupid.
ReferenceError: UnlockedMolecule is not defined
at Test.it
at begin
at Object.it
at Test.describe
at /runner/frameworks/javascript/cw-2.js:159:11
at Promise._execute
at Promise._resolveFromExecutor
at new Promise
at Object.describe
at /home/codewarrior/index.js:738:6
at /home/codewarrior/index.js:1319:5
at Object.handleError
congratulations
not correct but well done on passing the tests
so maybe clever, but not best practice
This comment is hidden because it contains spoiler information about the solution
It would be good to know whether or not this is a chai incompatibility error, or whether it is a requirement for the task that Thing not have anything using Symbols...:hmm?
Yup, I too am at this point.
true enough, but at time of writing the code, default parameters threw out the syntax highlighting on codewars
This works, but much nicer in ES6 is to use default parameters https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Functions/Default_parameters
random tests added
Thanks so much for this very helpful description. I finally got it done!
Not sure if something updated but it appears System.out.print now works to some extent. The only condition is that your code compiles perfectly. Once that's satisfied, you should be able to print to console messages in your solution. You can also modify the example test cases to print out each case.
Loading more items...