web api instance method
FontFaceSet: clear() method
Available in workers
The clear() method of the FontFaceSet interface removes all fonts added via this interface. Fonts added with the @font-face rule are not removed.
Syntax
clear()
Parameters
None.
Return value
None (undefined).
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.