mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
Apply let/const transform.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import basePropertyOf from './_basePropertyOf.js';
|
||||
|
||||
/** Used to map Latin Unicode letters to basic Latin letters. */
|
||||
var deburredLetters = {
|
||||
const deburredLetters = {
|
||||
// Latin-1 Supplement block.
|
||||
'\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A',
|
||||
'\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a',
|
||||
@@ -66,6 +66,6 @@ var deburredLetters = {
|
||||
* @param {string} letter The matched letter to deburr.
|
||||
* @returns {string} Returns the deburred letter.
|
||||
*/
|
||||
var deburrLetter = basePropertyOf(deburredLetters);
|
||||
const deburrLetter = basePropertyOf(deburredLetters);
|
||||
|
||||
export default deburrLetter;
|
||||
|
||||
Reference in New Issue
Block a user