---
title: MediaKeyStatusMap.size
slug: Web/API/MediaKeyStatusMap/size
tags:
  - API
  - EncryptedMediaExtensions
  - MediaKeyStatusMap
  - Property
  - Reference
  - size
browser-compat: api.MediaKeyStatusMap.size
---
{{SeeCompatTable}}{{APIRef("EncryptedMediaExtensions API")}}

The **`size`** read-only property of
the {{domxref("MediaKeyStatusMap")}} interface returns the number of key/value paIrs
in the status map.

## Syntax

```js
var size = MediaKeyStatusMap.size;
```

### Value

A long integer.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
