Allow ==
when null checking (#24593)
This commit is contained in:
parent
e98c86050a
commit
c1a7e38d2b
3 changed files with 1 additions and 5 deletions
|
@ -60,7 +60,6 @@ export function toShortNumber(sourceNumber) {
|
|||
* // => 1790
|
||||
*/
|
||||
export function pluralReady(sourceNumber, division) {
|
||||
// eslint-disable-next-line eqeqeq
|
||||
if (division == null || division < DECIMAL_UNITS.HUNDRED) {
|
||||
return sourceNumber;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue