mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
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>
This commit is contained in:
committed by
GitHub
parent
edadd45214
commit
b5e672995a
@@ -6961,7 +6961,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates an array with all falsey values removed. The values `false`, `null`,
|
* Creates an array with all falsey values removed. The values `false`, `null`,
|
||||||
* `0`, `""`, `undefined`, and `NaN` are falsey.
|
* `0`, `-0', '0n`, `""`, `undefined`, and `NaN` are falsy.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
|
|||||||
Reference in New Issue
Block a user