主页
JS 参考手册
JavaScript Array keys() 方法
tryjsref_keys
运行 ❯
×
更改方向
保存代码
更改主题
Array keys()
从 fruit 数组创建一个迭代对象。
迭代对象将包含数组的键:
注意:
IE 11(及更早版本)不支持 keys 方法。