Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor zeroPad to use padStart for improved readability
Replaced the manual loop with `padStart` to simplify the code and improve readability. This aligns with modern JavaScript practices, making the function more concise and easier to maintain. No functional changesjust a cleaner, more efficient approach to padding numbers with leading zeros.
- Loading branch information