js/tinymce/plugins/spellchecker/plugin.js
function indexOf(match) {
        var i = matches.length;
        while (i--) {
          if (matches[i] === match) {
            return i;
          }
        }

        return -1;
      }
function indexOf(match) {
        var i = matches.length;
        while (i--) {
          if (matches[i] === match) {
            return i;
          }
        }

        return -1;
      }
function indexOf ( match ) { var i = matches . length ; while ( i -- ) { if ( matches [ i ] === match ) { return i ; } } return - 1 ; }
Returns the index of a specific match object or -1 if it isn't found.

@param  {Match} match Text match object.
@return {Number} Index of match or -1 if it isn't found.
Returns the index of a specific match object or - 1 if it isn t found .