The item() method returns the element that the enumerator is pointing to in the collection. If the collection is empty or undefined, undefined is returned. Drive Letters and drive types: