set method
The set()
method of the FormData interface sets a new value for an
existing key inside a FormData
object, or adds the key/value if it does
not already exist.
The difference between set()
and FormData.append is that if the
specified key does already exist, set()
will overwrite all existing
values with the new one, whereas append()
will append the new value onto
the end of the existing set of values.
Implementation
external void set(
String name,
JSAny blobValueOrValue, [
String filename,
]);