mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Apply let/const transform.
This commit is contained in:
@@ -10,7 +10,7 @@ import identity from './identity.js';
|
||||
* @param {Function} string The `toString` result.
|
||||
* @returns {Function} Returns `func`.
|
||||
*/
|
||||
var baseSetToString = !defineProperty ? identity : (func, string) => defineProperty(func, 'toString', {
|
||||
const baseSetToString = !defineProperty ? identity : (func, string) => defineProperty(func, 'toString', {
|
||||
'configurable': true,
|
||||
'enumerable': false,
|
||||
'value': constant(string),
|
||||
|
||||
Reference in New Issue
Block a user