📅  最后修改于: 2022-03-11 15:03:10.142000             🧑  作者: Mango
const strToDecode = 'Environment & Forest';
const parser = new DOMParser();
const decodedString = parser.parseFromString(`${strToDecode}`, 'text/html').body.textContent;
console.log(decodedString);