getIndex()

    获取当前集合中指定的索引信息。

    返回指定索引的引用,类型为object。

    • 返回集合 employee 下名为 ageIndex 索引的引用,假设 ageIndex 已存在。