code: function format(formatStr) {
      var args = [];
      for (var _i = 1; _i < arguments.length; _i++) {
          args[_i - 1] = arguments[_i];
      }
      return formatArray(formatStr, args);
  }
docs: Formats a string.
  
  @function format
  
  @param {String} formatStr The format string.
  @param ...any args One or more argument for the format string.
  
  @return {String} The formatted string.