This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The endOffset property of the StaticRange interface returns the offset into the end node of the range's end position.


var endOffset = staticRange.endOffset
staticRange.endOffset = endOffset


An unsigned long integer.


Specification Status Comment
Static Range
The definition of 'endOffset' in that specification.
Editor's Draft Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support60 ? ? ?4710.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support6060 ? ?4710.1 ?

Document Tags and Contributors

Contributors to this page: fscholz, jpmedley
Last updated by: fscholz,