mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Apply template string transform.
This commit is contained in:
@@ -17,7 +17,7 @@ function toSource(func) {
|
||||
return funcToString.call(func);
|
||||
} catch (e) {}
|
||||
try {
|
||||
return (func + '');
|
||||
return `${ func }`;
|
||||
} catch (e) {}
|
||||
}
|
||||
return '';
|
||||
|
||||
Reference in New Issue
Block a user