class Indexerimport { Indexer } from "https://deno.land/x/indexer@v1.0.0/indexer.ts"; A class that generates an index number. ConstructorsnewIndexer(max?: number)Constructs a new Indexer. Methodsnext(): numberReturns the next index number and increments the index number. It starts from 0 and increments the index number by 1 each time it is called. It resets the index number and returns 0 if the index number is greater than or equal to the max.