Skip to content

Move webStorage.length evaluation out the for-loop #60

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

Closed
wants to merge 2 commits into from
Closed

Move webStorage.length evaluation out the for-loop #60

wants to merge 2 commits into from

Conversation

dmitriz
Copy link

@dmitriz dmitriz commented Jul 29, 2014

Standard JS best practice - this way the length is only calculated once.
Would only make a difference if the loop might change that length (which shouldn't happen).

@egilkh
Copy link
Contributor

egilkh commented May 14, 2015

This was fixed in another merge.

@egilkh egilkh closed this May 14, 2015
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