Skip to content

Conversation

@Smita81
Copy link
Collaborator

@Smita81 Smita81 commented May 6, 2024

No description provided.

@Smita81 Smita81 requested a review from dannyelcf May 6, 2024 14:01
@Smita81 Smita81 self-assigned this May 6, 2024
Comment on lines 34 to 41
let newString = '';
for (const char of stringToReplacify) {
if (char === oldChar) {
newString += newChar;
} else {
newString += char;
}
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You must invoke replaceWith function here once you implemented it in the util.js

Ex:

const newString = replaceWith(stringToReplacify, oldChar, newChar)

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.

3 participants