mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -10,7 +10,7 @@ import toFinite from './toFinite.js';
|
||||
* @returns {Function} Returns the new range function.
|
||||
*/
|
||||
function createRange(fromRight) {
|
||||
return function(start, end, step) {
|
||||
return (start, end, step) => {
|
||||
if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {
|
||||
end = step = undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user