Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor teacher's solution #107

Merged
merged 1 commit into from Jan 7, 2023
Merged

Conversation

v1valasvegan
Copy link
Contributor

@v1valasvegan v1valasvegan commented Jan 6, 2023

Use slice with negative number to get 4 last digits, use padStart instead of repeat to add asterisks.

Use negative number to slice a from the end, use padStart instead of repeat to add asterisks.
@bondiano bondiano merged commit c6e644b into hexlet-basics:main Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants