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