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.
Heh, nice trick with the 'constructor'. Codewars makes me too complacent just using truthy/falsy values.
Approved
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
.
JS: the old homemade test framework is still used => needs an update to node 18 + chai
Python translation: https://www.codewars.com/kumite/6475f90fc75248000f35d221?sel=6475f90fc75248000f35d221
I updated test cases, but another update is needed to use more recent Node.js version.
Random tests immediately are too big to be usefull for debugging. This causes bad user experience.
Notes like
E#, F
andC#, Db
are definitely not the same due to enharmonics. They only equate to the same frequency under equal temperament.This is a duplicate of https://www.codewars.com/kata/579f54c672292dc1a20001bd
Lacks random tests
"Not rely". You can though discard the solutions in JS, and then you can access the panel for the translations.
But if you cannot read JS code at least to identify the tests, I strongly suggest you avoid to do the translation.
Can I translate this kata without completing it? I know how to do this in python but I don't know javascript.
So perhaps the parameter to the function should be called
root
instead ofchord
Loading more items...