Skip to content

Refactor some functions#73

Open
mdanok wants to merge 1 commit intousablica:masterfrom
mdanok:patch-1
Open

Refactor some functions#73
mdanok wants to merge 1 commit intousablica:masterfrom
mdanok:patch-1

Conversation

@mdanok
Copy link

@mdanok mdanok commented Mar 19, 2023

  • Replace var with const and let for variable declarations
  • Use reduce method to simplify string replacement loops
  • Return the modified string directly instead of using this._str

- Replace var with const and let for variable declarations
- Use reduce method to simplify string replacement loops
- Return the modified string directly instead of using this._str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant