public/build/static/application.js
function trimmedRightIndex(string) {
    var index = string.length;
    while (index--) {
      var c = string.charCodeAt(index);
      if (!((c <= 160 && (c >= 9 && c <= 13) || c == 32 || c == 160) || c == 5760 || c == 6158 ||
          (c >= 8192 && (c <= 8202 || c == 8232 || c == 8233 || c == 8239 || c == 8287 || c == 12288 || c == 65279)))) {
        break;
      }
    }
    return index;
  }
function trimmedRightIndex(string) {
    var index = string.length;
    while (index--) {
      var c = string.charCodeAt(index);
      if (!((c <= 160 && (c >= 9 && c <= 13) || c == 32 || c == 160) || c == 5760 || c == 6158 ||
          (c >= 8192 && (c <= 8202 || c == 8232 || c == 8233 || c == 8239 || c == 8287 || c == 12288 || c == 65279)))) {
        break;
      }
    }
    return index;
  }
function trimmedRightIndex ( string ) { var index = string . length ; while ( index -- ) { var c = string . charCodeAt ( index ) ; if ( ! ( ( c <= 160 && ( c >= 9 && c <= 13 ) || c == 32 || c == 160 ) || c == 5760 || c == 6158 || ( c >= 8192 && ( c <= 8202 || c == 8232 || c == 8233 || c == 8239 || c == 8287 || c == 12288 || c == 65279 ) ) ) ) { break ; } } return index ; }
Gets the index of the last non-whitespace character of `string`.

@private
@param {string} string The string to inspect.
@returns {number} Returns the index of the last non-whitespace character.
Gets the index of the last non - whitespace character of string .