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 keyword
this
is a fundamental construct in Javascript. Meanwhile I've had several authored katas demoted from higher kyu since I've been particularly active (when Ruby, Javascript and Coffeescript were pretty much the only supported languages on Codewars). Also don't think classes were an available feature at the time, so you might have a point there?In my opinion, if you have to read how to use prototypes in Javascript to understand how to solve the kata it's not a 7kyu Kata.
The way this Kata is formulated in JS starting with
String.prototype.toJadenCase = function () {}
is in my opinion by no means a 7kyu Kata.Anything with the keyword
this
in JS can't be 7kyu I would say. I spent also a while to figure out how to handle this.complete the exercise, but send fail anyway
Ok, sorry. I tagged it with 'spoiler'. It seems I can't edit my message any more.
Please don't post solutions in Discourse.
This comment is hidden because it contains spoiler information about the solution