我怎样才能获得数组的所有索引,
[ { "name":"aloha", "age":"18" }, { "name":"hello word" }, { "name":"John Doe", "age":"28" } ]
输出应该像[0,1,2]
javascript arrays node.js
arrays ×1
javascript ×1
node.js ×1