sum / join proposal

classic Classic list List threaded Threaded
1 message Options
tog
Reply | Threaded
Open this post in threaded view
|

sum / join proposal

tog
I propose to allow no arg to join so that

["foo", "bar"].join() is equivalent to  ["foo",  "bar"].join("")

and does not end up in : foonullbar

In, this particular case, join() and sum() will be equivalent.

cheers
tog