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.
Theentries() methodof theMediaKeyStatusMap interface returns a new Iterator object,containing an array of [key, value] pairs for each element in the status map, ininsertion order.
In this article
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.