mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Apply template string transform.
This commit is contained in:
@@ -11,7 +11,7 @@ import setToString from './_setToString.js';
|
||||
* @returns {Function} Returns the new function.
|
||||
*/
|
||||
function baseRest(func, start) {
|
||||
return setToString(overRest(func, start, identity), func + '');
|
||||
return setToString(overRest(func, start, identity), `${ func }`);
|
||||
}
|
||||
|
||||
export default baseRest;
|
||||
|
||||
Reference in New Issue
Block a user