Skip to content

Part 2b: Remove unnecessary string conversion for note ID - #4313

Open
joshuaenahoro wants to merge 1 commit into
fullstack-hy2020:sourcefrom
joshuaenahoro:patch-1
Open

Part 2b: Remove unnecessary string conversion for note ID#4313
joshuaenahoro wants to merge 1 commit into
fullstack-hy2020:sourcefrom
joshuaenahoro:patch-1

Conversation

@joshuaenahoro

Copy link
Copy Markdown

Removes the unnecessary String() conversion when assigning the note ID in noteObject. notes.length + 1 already produces a number, and the application uses numeric IDs, so the conversion is redundant.

Removes the unnecessary `String()` conversion when assigning the note ID in `noteObject`. `notes.length + 1` already produces a number, and the application uses numeric IDs, so the conversion is redundant.
@joshuaenahoro joshuaenahoro changed the title refactor: remove unnecessary string conversion for note ID Part2b: Remove unnecessary string conversion for note ID Aug 7, 2026
@joshuaenahoro joshuaenahoro changed the title Part2b: Remove unnecessary string conversion for note ID Part 2b: Remove unnecessary string conversion for note ID Aug 7, 2026
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