Skip to content

refactor: replace deprecated .substr() with .substring()#342

Open
singhankit001 wants to merge 1 commit intoexpressjs:masterfrom
singhankit001:refactor/replace-substr-with-substring
Open

refactor: replace deprecated .substr() with .substring()#342
singhankit001 wants to merge 1 commit intoexpressjs:masterfrom
singhankit001:refactor/replace-substr-with-substring

Conversation

@singhankit001
Copy link
Copy Markdown

String.prototype.substr() is deprecated per MDN. This PR replaces all occurrences in the test file with the standard .substring() method.

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