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.
nice, modulo ftw
Technically, no foul, but as a developer, practicing good habits for always writing clean and understandable code means scoping even when it isn't necessary (IMO). Can you tell I learned Java first, Javascript second LOL!
Yeah, but technically, that's making a temporary array.
swap two elements in ES6 with
[array[x], array[y]] = [array[y], array[x]]
Sure, though it doesn't matter in this case as it's a standalone function.
Need a 'var' before 'wordsArray', otherwise it'll be globally scoped.
pile does not get reset. adds 100 each time except for the one machine that adds 101. However, I cannot get the damn thing to accept my correct solution.