📌  相关文章
📜  como percorrer um objeto js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:00.647000             🧑  作者: Mango

代码示例2
// Requiring the lodash library 
// console:  npm i --save lodash
const _ = require("lodash")

// Use of _.forEach() method

_.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
  console.log(key)
})