const contracts = { 'EOS':'0x86fa049857e0209aa7d9e616f7eb3b3b78ecfdb0', 'FBC':'0x0c6df9bb12b32aeec1e117936457ed83ad8a1c70', 'USDT':'' }; for(let symbol in contracts) { console.log(symbol,contracts[symbol]); }
arr.forEach(function (item) { someFn(item); }) elements.forEach(function(element){ });
var a = ["a", "b", "c"]; a.forEach(function(entry) { console.log(entry); });