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.
Not a kata issue, OP got confused between classes and arguments, closing.
The
circle
arg is aCircle
object. Take a look at the test section where the object is instantiated.This not an issue, but I cannot close it.
Are you sure of this?
if (arr.length === 1) return arr[0][0];
b
is constant in your code, you should be using the current ball position in your loop.What do you think
one ? false : true;
does?Use
console.log(str)
before the return line.