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…