---
title: FontFaceSet.keys()
slug: Web/API/FontFaceSet/keys
tags:
  - API
  - Method
  - Reference
  - keys
  - FontFaceSet
browser-compat: api.FontFaceSet.keys
---
{{APIRef("CSS Font Loading API")}}

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

## Syntax

```js
FontFaceSet.keys()
```

### Return Value

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

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
