Back to Content

FontFaceSet: keys() method

files/en-us/web/api/fontfaceset/keys/index.md

latest440 B
Original Source

{{APIRef("CSS Font Loading API")}}{{AvailableInWorkers}}

The keys() method of the {{domxref("FontFaceSet")}} interface is an alias for {{domxref("FontFaceSet.values")}}.

Syntax

js-nolint
keys()

Parameters

None.

Return value

A new iterator object containing the values for each element in the given FontFaceSet, in insertion order.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}