The CSSStyleDeclaration.item() method interface returns a CSS property name from a CSSStyleDeclaration by index.
This method doesn't throw exceptions as long as you provide arguments; the empty string is returned if the index is out of range and a TypeError is thrown if no argument is provided.