docs: function endsWithString(endingValue, valueToTest) {
    const position = valueToTest.length - endingValue.length;
    const lastIndexOfValue = valueToTest.lastIndexOf(endingValue);
  
    return !!~lastIndexOfValue && lastIndexOfValue === position;
  }