underscore.string icon indicating copy to clipboard operation
underscore.string copied to clipboard

_.join support for array

Open dextervip opened this issue 12 years ago • 2 comments

Hi,

It would be nice if _.join(separator, *strings) supports array also instead of only string parameters sequence.

dextervip avatar Feb 08 '13 19:02 dextervip

Unnecessary. There's a native join() method for that - http://www.w3schools.com/jsref/jsref_join.asp

elishnevsky avatar Feb 26 '13 14:02 elishnevsky

Also, that's something that underscore/lodash would be able to handle if you were chaining. But right now mixing in underscore.string seems to break that feature. See #174.

wbyoung avatar Nov 09 '14 16:11 wbyoung