8000 jsdoc: Add -0 and BigInt zeros to _.compact falsey values list (#6062) · lodash/lodash@b5e6729 · GitHub
[go: up one dir, main page]

Skip to content

Commit b5e6729

Browse files
mughees-razaljharb
andauthored
jsdoc: Add -0 and BigInt zeros to _.compact falsey values list (#6062)
* extend falsy values to include negative zero and BigInt zeros in _.compact JSDoc * refactor: correct spell falsey to falsy Co-authored-by: Jordan Harband <ljharb@gmail.com> --------- Co-authored-by: Jordan Harband <ljharb@gmail.com>
1 parent edadd45 commit b5e6729

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
@@ -6961,7 +6961,7 @@
69616961

69626962
/**
69636963
* Creates an array with all falsey values removed. The values `false`, `null`,
6964-
* `0`, `""`, `undefined`, and `NaN` are falsey.
6964+
* `0`, `-0', '0n`, `""`, `undefined`, and `NaN` are falsy.
69656965
*
69666966
* @static
69676967
* @memberOf _

0 commit comments

Comments
 (0)
0