mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Apply even more let/const transforms.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import basePropertyOf from './_basePropertyOf.js';
|
||||
|
||||
/** Used to map HTML entities to characters. */
|
||||
var htmlUnescapes = {
|
||||
const htmlUnescapes = {
|
||||
'&': '&',
|
||||
'<': '<',
|
||||
'>': '>',
|
||||
@@ -16,6 +16,6 @@ var htmlUnescapes = {
|
||||
* @param {string} chr The matched character to unescape.
|
||||
* @returns {string} Returns the unescaped character.
|
||||
*/
|
||||
var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
|
||||
const unescapeHtmlChar = basePropertyOf(htmlUnescapes);
|
||||
|
||||
export default unescapeHtmlChar;
|
||||
|
||||
Reference in New Issue
Block a user