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.
I am not sure there are positive integers for which the last two operations can return a higher value than the previous ones. Otherwise best practice.
People really just upvote the shortest answer for "Best Practices" even though there is a "clever" option.
Golfing is fun, but not a good practice
RegExp
. See MDN.Guys I am new to javascript and I have seen this string with dollar sign a lot can someone give me its name to study it. And thank you.
I think we should be able to see our rank score. Mine is currently 931, because I saw it from this link: https://www.codewars.com/api/v1/users/DavidJES
If it's available from this link then why is it hidden on profile?
A mod in this very thread said that the ranked leaderboard is a lot more interesting than the honor, yet we can't even see our ranked score unless we go to awkward links? I don't understand why.
I'd like to be able to see my current rank score and score of next kata rank, like this:
931 / 1768
This comment is hidden because it contains spoiler information about the solution
+1 to the pool of "Please implement solution downvotes" suggestions. So tired of seeing terrible solutions snowball to accumulate insane number of "best practice" votes simply because they are cryptically short.
Arrow function, great solution!!
It's fun how you can forget best practices that you used before, when it so needed :))
good!
this
is a reference to the instance ofNumber
on which you called the methodtimes
.very nice!
It works because
self.area
ofRectangle
is defined within the parent classShape
Who is "this" ?
I had created a dictionary to assigned the value of each letter. I didn't know about 'ord'.
Thank you
Loading more items...