Skip to content

Chaining methods instead of multiple assignations#50

Open
Javascipt wants to merge 1 commit intododo:masterfrom
Javascipt:master
Open

Chaining methods instead of multiple assignations#50
Javascipt wants to merge 1 commit intododo:masterfrom
Javascipt:master

Conversation

@Javascipt
Copy link

The two changes I made are :

  • Chaining the .replace() methode to make only one assignation
  • Testing the opts.lower on the return statement to avoid another assignation

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