mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Bump to v4.16.5.
This commit is contained in:
@@ -30,7 +30,7 @@ define([], function() {
|
||||
* // => [3, 2, 1]
|
||||
*/
|
||||
function reverse(array) {
|
||||
return array ? nativeReverse.call(array) : array;
|
||||
return array == null ? array : nativeReverse.call(array);
|
||||
}
|
||||
|
||||
return reverse;
|
||||
|
||||
Reference in New Issue
Block a user