function stringToPath(string) {
    var result = [];
    toString(string).replace(rePropName, function(match, number, quote, string) {
      result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
    });
    return result;
  }
/**
   * Converts `string` to a property path array.
   *
   * @private
   * @param {string} string The string to convert.
   * @returns {Array} Returns the property path array.
   */
Converts `string` to a property path array.
Converts ` string ` to a property path array .
function stringToPath(string) {
    var result = [];
    toString(string).replace(rePropName, function(match, number, quote, string) {
      result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));
    });
    return result;
  }
function stringToPath ( string ) { var result = [ ] ; toString ( string ) . replace ( rePropName , function ( match , number , quote , string ) { result . push ( quote ? string . replace ( reEscapeChar , '$1' ) : ( number || match ) ) ; } ) ; return result ; }
Converts `string` to a property path array.
Converts ` string ` to a property path array .