这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
forEach
特性为
MediaKeyStatusMap
interface calls callback once for each key-value pair in the status map, in insertion order. If an argument is present it will be passed to the callback.
mediaKeyStatusMap.forEach(callback[, thisArg])
callback
currentValue
The current element being processed in the array.
index
The index of the current element being processed in the array.
array
forEach()
is being applied to.
thisArg
可选
this
when executing
callback
.
| 规范 | 状态 | 注释 |
|---|---|---|
| 加密媒体扩展 | 推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
forEach
|
Chrome 42 | Edge 13 | Firefox ? | IE ? | Opera 29 | Safari ? | WebView Android 43 | Chrome Android 42 | Firefox Android ? | Opera Android 29 | Safari iOS ? | Samsung Internet Android 4.0 |
完整支持
兼容性未知
实验。期望将来行为有所改变。