3 ms·
Unless something has changed recently in Ruby, won't identity="" as a parameter just assign the empty string to a variable named identity and then pass the empt
by nitrogen 6y ago
Unless something has changed recently in Ruby, won't identity="" as a parameter just assign the empty string to a variable named identity and then pass the empty string as an unnamed positional parameter?
- DougBTX 6y agoYou're right, it should be: ["a", "b"].sum("")