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 is my first feedback. Awesome solution!
I think it works without number due to type coercion? At least I did almost identically without converting the string for comparison
I put newString as bin = [] and still got it correct. I am unsure how because return "Bin" should have gotten me back an array but it was all strings so happy it worked but unsure still.
It's very ineffective :(
unnecessary parsing to Number as >= does not compare types. If you had >== you'd need it
Why you need the 'str' variable?
The way you currenlty have it, it's returning an array of string numbers. You need to do something to convert each array value to a number then you should pass it fine.
Thats cool way to do it!