Remove irrelevant comments. [ci skip]

This commit is contained in:
John-David Dalton
2015-07-14 23:12:31 -07:00
parent 0beaf47a64
commit b821660e79

View File

@@ -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, &amp; pebbles' * // => 'fred, barney, &amp; 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)