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

Assign null value instead of using delete keyword #36

Closed
nijikokun opened this issue Dec 8, 2015 · 1 comment
Closed

Assign null value instead of using delete keyword #36

nijikokun opened this issue Dec 8, 2015 · 1 comment

Comments

@nijikokun
Copy link
Contributor

https://github.com/mathieuancelin/js-repaint-perfs/blob/gh-pages/ENV.js#L160

Setting null would give better performance than delete in this case, using delete seems like complete overkill.

mathieuancelin added a commit that referenced this issue Dec 9, 2015
fix(env): Use null value over delete keyword
@mathieuancelin
Copy link
Owner

That's very nice :-)

Thanks

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

No branches or pull requests

2 participants