示例演示 indexOf() 方法。

員工“Jordan”的位置索引:

員工陣列:

© . All rights reserved.