item

The item JS DOMTokenList returns the token with index index.

Syntax

tokenlist.item(index)
tokenlist[index]

Parameters

index

The number of preceding siblings, or 0 if it has none.

Examples

1 · item · single

2 · item · multiple

3 · [ ] · single

4 · [ ] · multiple

HomeMenu