Ruby translation, please check and approve :-)
A comment should not be marked as an Issue unless it is confirmed that the problem being described is due to the Kata itself.
This comment is hidden because it contains spoiler information about the solution
This code returns -0, if you pass 0 as a parameter.
its an equivalent to an if/else construct that returns a value
Just learned something new! Had no idea this was an alternative to if/else. Thank you!
This solution returns incorrect result for addBinary(-9, 1)
You could do something like the following which will allow you to omit the arr.pop() operation:
arr = arr.slice(1, arr.length -1);
i don't get it. isn't the last one already accepting only one argument?