js页面中for each循环里如何添加索引?js的for 里面的变量就是下标索引。var person = {fname:"John", lname:"Doe", age:25} var text = ""var xfor2023-02-21JavaScript120