Skip to content

Conversation

FoxyRaspberry
Copy link
Owner

Copy link

@Anik188 Anik188 left a comment

Choose a reason for hiding this comment

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

Хорошая работа! Обрати внимание на рекомендации, возможно они будут полезными


StringBuilder.prototype.multiply = function(number) {
const originalValue = this.value;
let result = '';
Copy link

Choose a reason for hiding this comment

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

Обрати внимание на метод repeat у стрингов. Думаю, он бы тут хорошо подошел

StringBuilder.prototype.remove = function(string) {
let result = '';
let startPosition = 0;
while (true) {
Copy link

Choose a reason for hiding this comment

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

Думаю метод includes поможет в этом месте

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.

2 participants