mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Apply template string transform.
This commit is contained in:
@@ -14,7 +14,7 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
||||
* @returns {string} Returns the function name.
|
||||
*/
|
||||
function getFuncName(func) {
|
||||
var result = (func.name + ''),
|
||||
var result = `${ func.name }`,
|
||||
array = realNames[result],
|
||||
length = hasOwnProperty.call(realNames, result) ? array.length : 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user