8000 Return implicit `undefined`. · lodash/lodash@97a437e · GitHub
[go: up one dir, main page]

Skip to content

Commit 97a437e

Browse files
committed
Return implicit undefined.
1 parent 3c37f29 commit 97a437e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lodash.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3304,7 +3304,7 @@
33043304
function baseNth(array, n) {
33053305
var length = array.length;
33063306
if (!length) {
3307-
return undefined;
3307+
return;
33083308
}
33093309
n += n < 0 ? length : 0;
33103310
return isIndex(n, length) ? array[n] : undefined;

0 commit comments

Comments
 (0)
0