Skip to content

perf(lib/tocamelcase): immediately return instead of using temp var#243

Merged
Eomm merged 1 commit intomasterfrom
perf/camelcase
Jul 20, 2024
Merged

perf(lib/tocamelcase): immediately return instead of using temp var#243
Eomm merged 1 commit intomasterfrom
perf/camelcase

Conversation

@Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Jul 19, 2024

Immediately return instead of assigning the value to the temp newName const, only to return that.

Checklist

Signed-off-by: Frazer Smith <frazer.dev@outlook.com>
@Eomm Eomm merged commit 50cfea0 into master Jul 20, 2024
@Eomm Eomm deleted the perf/camelcase branch July 20, 2024 14:53
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.

4 participants