💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## unescape + [link](./unescape "Link to this entry.") + [source](https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L13015 "View in source.") + [npm](https://www.npmjs.com/package/lodash.unescape "See the npm package.") ``` _.unescape([string='']) ``` 反向版 `_.escape`。 这个方法转换 HTML 实体 `&`, `<`, `>`, `"`, `'`, 以及 ``` 为对应的字符。 **注意:** 不会转换其他的 HTML 实体,需要转换可以使用类似 [_he_](https://mths.be/he) 的第三方库。 ### 参数 1. [string=''] (string) 要转换的字符串 ### 返回值 (string) 返回转换后的字符串 ### 示例 ``` _.unescape('fred, barney, & pebbles'); // => 'fred, barney, & pebbles' ```