getNamedItemname
getNamedItemname is not a standard function in widely used web or programming APIs. The term appears to be a misnomer or a confusion with the getNamedItem method found in the DOM’s NamedNodeMap interface. When people refer to retrieving items by name within a collection, the canonical method is usually getNamedItem(name).
In the DOM, a NamedNodeMap represents a collection of nodes that can be accessed by name, such
If getNamedItemname were a real API, it would presumably take a single string parameter named name and
Alternatives and related APIs include setNamedItem, removeNamedItem, and item(index) on NamedNodeMap, as well as Element.getAttribute and