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