The set() method of the StylePropertyMap interface changes the CSS declaration with the given property.
set()
MDN Reference