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.
"For calculating the average point you may add your point to the given array!"
Based on my understanding my of this kata, adding yourPoints is optional
Check the details section:
"For calculating the average point you may add your point to the given array!"
To my understanding that adding yourPoints is optional
0 is the initial value of a.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce
"Only use ~~ as a substitution for Math.trunc() when you are confident that the range of input falls within the range of 32-bit integers."
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc
Did you join an empty character to return a string? for what purpose?
This is really interesting! Now I know about BitOperations class!
very neat
This comment is hidden because it contains spoiler information about the solution