mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
Apply even more let/const transforms.
This commit is contained in:
@@ -37,7 +37,7 @@ function castArray(...args) {
|
||||
if (!args.length) {
|
||||
return [];
|
||||
}
|
||||
var value = args[0];
|
||||
const value = args[0];
|
||||
return isArray(value) ? value : [value];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user