/** * html字符解码 * * @param {string} str - 需要解码的字符串 * @returns {string} 解码后的字符串 * @example * * htmlDecode('<script>'); * // =>