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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes, absolutely.
There are 3 another ways to create an array:
2.1) var path = new Array(); // constructor syntax
2.2) var path = Array(); // like 2.1), just throw out keyword 'new' and it still works
Oh, my fault, I just forgot to delete this variable before submit. As you can see, the only line with $path is commented :)
I even can't remember, why I have tried to use it :D