static writeFragment(params) {
    if (!Array.isArray(params)) {
      return "";
    } else {
      return params.join("/");
    }
  }
/**
   * Creates a fragment (location hash) from an array of path segments
   *
   * @param {Array<string>} params  - Path segments that define a route
   * @returns {string}              - Route as a fragment
   */
Creates a fragment (location hash) from an array of path segments
@param {Array} params  - Path segments that define a route
@returns {string}              - Route as a fragment
Creates a fragment ( location hash ) from an array of path segments @param { Array } params - Path segments that define a route @returns { string } - Route as a fragment
static writeFragment(params) {
    if (!Array.isArray(params)) {
      return "";
    } else {
      return params.join("/");
    }
  }
static writeFragment ( params ) { if ( ! Array . isArray ( params ) ) { return "" ; } else { return params . join ( "/" ) ; } }
Creates a fragment (location hash) from an array of path segments
 @param {Array<string>} params  - Path segments that define a route
 @returns {string}              - Route as a fragment
Creates a fragment ( location hash ) from an array of path segments @param { Array<string > } params - Path segments that define a route @returns { string } - Route as a fragment