docs: function endsWith(string, target, position) {
        string = toString(string);
        target = baseToString(target);
  
        var length = string.length;
        position = position === undefined
          ? length
          : baseClamp(toInteger(position), 0, length);
  
        var end = position;
        position -= target.length;
        return position >= 0 && string.slice(position, end) == target;
      }