mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Apply more let/const transforms.
This commit is contained in:
@@ -2,8 +2,8 @@ import toString from './toString.js';
|
||||
import unescapeHtmlChar from './_unescapeHtmlChar.js';
|
||||
|
||||
/** Used to match HTML entities and HTML characters. */
|
||||
var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,
|
||||
reHasEscapedHtml = RegExp(reEscapedHtml.source);
|
||||
const reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g;
|
||||
const reHasEscapedHtml = RegExp(reEscapedHtml.source);
|
||||
|
||||
/**
|
||||
* The inverse of `_.escape`; this method converts the HTML entities
|
||||
|
||||
Reference in New Issue
Block a user