forEach() method of the
CustomStateSet interface executes a provided function for each value in the
CustomStateSet.forEach(callbackFn) CustomStateSet.forEach(callbackFn, thisArg)
Function to execute for each element, taking three arguments:
The current element being processed in the
CustomStateSet. As there are no keys in a
CustomStateSet, the value is passed for both arguments.
forEach()was called upon.
Value to use as
No specification found
No specification data found for
Check for problems with this page or contribute a missing
spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
BCD tables only load in the browser