📅  最后修改于: 2022-03-11 15:02:27.755000             🧑  作者: Mango
//example function to loop through each key of an object and update each
Object.keys(objectName).forEach((key) => objectName[key] = "new value" });