Examples are as follows:
console.log(jsonData);//Firefox console printout: Object { fileNumber="file number", fileName="file name"}for(var key in jsonData) console.log("Properties: " + key + ",value: "+ jsonData[key]);}Printout:
Attribute: fileNumber, value: file number
Attribute: fileName, value: file name
The above simple example of traversing Map objects in js is all the content I share with you. I hope you can give you a reference and I hope you can support Wulin.com more.