length

The length JS DOMTokenList returns the number of tokens.

Syntax

tokenlist.length

Examples

1 · return

2 · for

add

contains

item

remove

replace

supports

toggle

value

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu