Skip to main content
Version: 4.0.1

FormData.keys()

The keys() method of the FormData interface returns an iterator allowing iteration through all keys contained in this object. The iterator yields the key for each value.

Syntax​

keys()

Return value​

An iterator.