getName (DOMAttr - JavaScript) Gets the name of an attribute. Defined inDOMAttr SyntaxgetName() : string