Skip to content

Commit

Permalink
Refactor zeroPad to use padStart for improved readability Replaced th…
Browse files Browse the repository at this point in the history
…e 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
Ayoub-Mabrouk committed Nov 7, 2024
2 parents 7fc73c8 + 61e8474 commit 3c255a5
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 3c255a5

Please sign in to comment.