Name

Range.cloneRange(): make a copy of this range — DOM Level 2 Range

Synopsis

Range cloneRange( );

Returns

A new Range object that has the same boundary points as this range.

See Also

Document.createRange( )

Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.