MediaKeyStatusMap: keys() method

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.

The keys() method of the MediaKeyStatusMap interface returns a new Iterator object, containing keys for each element in the status map, in insertion order.

Syntax

js
keys()

Parameters

None.

Return value

A new iterator.

Specifications

No specification found

No specification data found for api.MediaKeyStatusMap.keys.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

BCD tables only load in the browser