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

Use {}.toString instead of Object.prototype.toString. OMG BYTEZ #317

Merged
merged 2 commits into from
Jul 6, 2011
Merged

Use {}.toString instead of Object.prototype.toString. OMG BYTEZ #317

merged 2 commits into from
Jul 6, 2011

Conversation

mathiasbynens
Copy link
Contributor

Use {}.toString instead of Object.prototype.toString. Works even if Object is something else at that point, plus it saves some bytes.

…n if `Object` is something else at that point, plus it saves some bytes.
paulirish added a commit that referenced this pull request Jul 6, 2011
Use `{}.toString` instead of `Object.prototype.toString`. OMG BYTEZ
@paulirish paulirish merged commit 91db91f into Modernizr:master Jul 6, 2011
@paulirish
Copy link
Member

:)

patrickkettner pushed a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 2015
Use `{}.toString` instead of `Object.prototype.toString`. OMG BYTEZ
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