For a basic example of the join methods I put together some examples that involve an array of folder names that need to be combined together into an string that ca be used as a corresponding path with a ‘\/‘ separator.
To use the lodash method I just need to call _.join, pass the array, and then give the separator that I want between elements when making the string. This will give me a string that will work okay as a path. If I all ready have a string that is formated in a way in wich there is a ‘\/‘ separator between folder names I can use the _.split method to split that string into an array of elements, reversing the process.
The native Array.join method works in verry much the same mannor only it is a prototype method of Array, so I call it as such, and only give the separator.