Sparse arrays contain holes (empty slots) represented by commas without values between them.
These holes behave differently from undefined values and array methods treat them inconsistently, which can lead to unexpected behavior and bugs.
Using explicit undefined values makes the intent clear and ensures consistent behavior.
If you intentionally use sparse arrays and understand their behavior, you might choose to disable this rule.
However, explicit undefined values are generally clearer and more predictable.