MediaKeyStatusMap: entries() 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 entries()
method
of the MediaKeyStatusMap
interface returns a new Iterator object,
containing an array of [key, value] pairs for each element in the status map, in
insertion order.
Syntax
js
entries()
Parameters
None.
Return value
A new Iterator object. Each element in the Iterator is an array containing a key and a value.
Exceptions
>Specifications
This feature does not appear to be defined in any specification.>Browser compatibility
Loading…