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