JS dictionary traversal

#data为字典
for (const [key, value] of Object.entries(data)) {
      console.log(key, value);
  }

Guess you like

Origin blog.csdn.net/m0_59799878/article/details/132129973