Baseline Widely available
The [Symbol.iterator]()
method of the RTCStatsReport
interface implements the iterable protocol and allows statistics reports to be consumed by most syntaxes expecting iterables, such as the spread syntax and for...of
loops. It returns an iterator object that yields the key-value pairs of the report in insertion order.
The initial value of this property is the same function object as the initial value of the RTCStatsReport.entries()
method.
The method is otherwise the same as Map.prototype[Symbol.iterator]()
.
RTCStatsReport[Symbol.iterator]()
Parameters
None.
Return valueThe same return value as RTCStatsReport.entries()
. This is a new iterable iterator object that yields the key-value (id
-"statistics dictionary") pairs of the report.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4