mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Make _.unescape doc example align with _.escape. [ci skip]
This commit is contained in:
@@ -8745,8 +8745,8 @@
|
||||
* @returns {string} Returns the unescaped string.
|
||||
* @example
|
||||
*
|
||||
* _.unescape('fred, barney & pebbles');
|
||||
* // => 'fred, barney & pebbles'
|
||||
* _.unescape('fred, barney, & pebbles');
|
||||
* // => 'fred, barney, & pebbles'
|
||||
*/
|
||||
function unescape(string) {
|
||||
string = string == null ? '' : String(string);
|
||||
|
||||
Reference in New Issue
Block a user