How to join all url segments to make a url in javascipt 30seconds of code
By Rachael Streich at Mar 28 2021