Selection.anchorOffset read-only property returns the
number of characters that the selection's anchor is offset within the
This number is zero-based. If the selection begins with the first character in the
0 is returned.
BCD tables only load in the browser
Selection, the interface it belongs to.