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:
Muhammad Mughees Raza
2025-12-19 02:12:55 +05:00
committed by GitHub
parent edadd45214
commit b5e672995a

View File

@@ -6961,7 +6961,7 @@
/**
* 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
* @memberOf _