deburr

最后更新于:2022-04-02 00:06:57

## deburr + [link](./deburr "Link to this entry.") + [source](https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L12093 "View in source.") + [npm](https://www.npmjs.com/package/lodash.deburr "See the npm package.") ``` _.deburr([string='']) ``` 转换 [latin-1 supplementary letters](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) 为基本拉丁字母,并删除[变音符](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks)。 ### 参数 1. [string=''] (string) 要处理的字符串 ### 返回值 (string) 返回处理后的字符串 ### 示例 ``` _.deburr('déjà vu'); // => 'deja vu' ```
';