Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The delete() method of the Highlight interface removes a specified Range object from a Highlight object.
Highlight is a Set-like object, so this is similar to using Set.delete().