code: function removeTrailingSlashes(s) {
  	if (s.startsWith("/"))
  		s = s.slice(1);
  	if (s.endsWith("/"))
  		s = s.slice(0, -1);
  	return s; //.replace(/\/\//g, "/");
  }
docs: Remove slashes "/" from the left & right sides and remove double "//" slashes