mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Apply arrow function transform.
This commit is contained in:
4
delay.js
4
delay.js
@@ -21,8 +21,6 @@ import toNumber from './toNumber.js';
|
||||
* }, 1000, 'later');
|
||||
* // => Logs 'later' after one second.
|
||||
*/
|
||||
var delay = baseRest(function(func, wait, args) {
|
||||
return baseDelay(func, toNumber(wait) || 0, args);
|
||||
});
|
||||
var delay = baseRest((func, wait, args) => baseDelay(func, toNumber(wait) || 0, args));
|
||||
|
||||
export default delay;
|
||||
|
||||
Reference in New Issue
Block a user