value

The value property of the HTMLLIElement interface indicates the ordinal position of the list element inside a given ol.

MDN Reference