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.
Didn't know there would be an equasion for this :)
a and b could be swapped instead of using Math but using your variables makes the equasion more understandable.
So my solution passed and I belive it should have not. I see many others like mine that are marked as correct. It says that the objects themselves shouldn't be changed. But if I try
widget.foo
it will be undefined. Provide test for such scenarios maybe. Or I've misunderstood what was asked for?Isn't it better practice to put the find and replace variables inside the function?
So if someone wanders what is the double tilda sign:
http://stackoverflow.com/questions/5971645/what-is-the-double-tilde-operator-in-javascript
I hope this is better. I made the method name in the same way. I didn't know if it is possible to do it without a block of code like it was before.
Could you elaborate on that. I don't quite understand. Are you talking about the code in the description?
How does the bit operation work. Could someone elaborate.