Javascript: TableOfContentsInfo.number Property
Description
The table of contents' one-based number in the document.
Syntax
<number> TableOfContentsInfo.numberExamples
The following example demonstrates TableOfContentsInfo.number in a practical document-editing workflow. The table of contents' one-based number in the document.
function inspectNumber(tableOfContentsInfo) {
const number = tableOfContentsInfo.number;
console.log("number:", number);
}