https://developer.mozilla.org/en-US/docs/Web/API/NamedNodeMap/removeNamedItemNS
NamedNodeMap: removeNamedItemNS() method - Web APIs | MDN
The removeNamedItemNS() method of the NamedNodeMap interface removes the Attr corresponding to the given namespace and local name from the map.
web apismethodmdn