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

may be it's better to use the length method #1420

Merged
merged 1 commit into from
May 21, 2017
Merged

may be it's better to use the length method #1420

merged 1 commit into from
May 21, 2017

Conversation

zhengjunxin
Copy link
Contributor

According to code in queue.js

length: function () {
     return q._tasks.length;
}

It may be better to use q.length() rather than q._tasks.length

@hargasinski hargasinski merged commit 21ab91a into caolan:master May 21, 2017
@hargasinski
Copy link
Collaborator

Thanks @JoeZheng2015!

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