mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07:49 +00:00
Remove irrelevant comments. [ci skip]
This commit is contained in:
@@ -4941,8 +4941,8 @@
|
|||||||
/**
|
/**
|
||||||
* Creates a slice of `array` from `start` up to, but not including, `end`.
|
* Creates a slice of `array` from `start` up to, but not including, `end`.
|
||||||
*
|
*
|
||||||
* **Note:** This method is used instead of `Array#slice` to support node
|
* **Note:** This method is used instead of `Array#slice` to ensure dense
|
||||||
* lists in IE < 9 and to ensure dense arrays are returned.
|
* arrays are returned.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -9799,7 +9799,6 @@
|
|||||||
* // => 'fred, barney, & pebbles'
|
* // => 'fred, barney, & pebbles'
|
||||||
*/
|
*/
|
||||||
function escape(string) {
|
function escape(string) {
|
||||||
// Reset `lastIndex` because in IE < 9 `String#replace` does not.
|
|
||||||
string = baseToString(string);
|
string = baseToString(string);
|
||||||
return (string && reHasUnescapedHtml.test(string))
|
return (string && reHasUnescapedHtml.test(string))
|
||||||
? string.replace(reUnescapedHtml, escapeHtmlChar)
|
? string.replace(reUnescapedHtml, escapeHtmlChar)
|
||||||
|
|||||||
Reference in New Issue
Block a user