Back to Content

FontFaceSet: entries() method

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

latest536 B
Original Source

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

The entries() method of the {{domxref("FontFaceSet")}} interface returns a new {{jsxref("Iterator")}} object, containing an array of [value,value] for each element in the FontFaceSet.

Syntax

js-nolint
entries()

Parameters

None.

Return value

A new iterator object that contains an array of [value, value] for each element in the CustomStateSet, in insertion order.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}