📅  最后修改于: 2022-03-11 15:02:14.445000             🧑  作者: Mango
const result = data.map(datum => Object.assign(...Object
.keys(datum)
.map(key => ({ [key.replace(/[.|&;$%@%"<>+]/g, '')]: datum[key] }))
));