Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solve #2332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

solve #2332

wants to merge 1 commit into from

Conversation

igols
Copy link

@igols igols commented Jul 18, 2024

No description provided.

Comment on lines +35 to +39
operate: function (callbak, x) {
callbak.call(this, x);

return this;
},

Choose a reason for hiding this comment

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

The operate method is using the function keyword, which is unnecessary here. You can use the method shorthand to define this function, which is more concise and is the preferred style in modern JavaScript.

Copy link

@anastasiiavorobiova anastasiiavorobiova left a comment

Choose a reason for hiding this comment

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

Great work!

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.

None yet

3 participants