CSSUnparsedValue: forEach() メソッド
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
CSSUnparsedValue.forEach() メソッドは、指定された関数を、CSSUnparsedValue オブジェクトのそれぞれの要素に対して実行します。
構文
js
forEach(callbackFn)
forEach(callbackFn, thisArg)
引数
callbackFn-
それぞれの要素について呼び出される関数で、3 つの引数を取ります。
currentValue-
処理中の現在の要素の値。
index省略可-
処理中の現在の要素の添字。
array省略可-
forEach()が呼び出されているCSSUnparsedValue。
thisArg省略可-
callbackの実行中に、thisとして使用する値(つまり、Objectの参照)。
返値
なし (undefined)。
仕様書
This feature does not appear to be defined in any specification.>ブラウザーの互換性
Loading…