/gist:bb4d8fbf36b0d493c698 Secret
Created
April 27, 2012 06:30
-
-
Save gnarf/bb4d8fbf36b0d493c698 to your computer and use it in GitHub Desktop.
Comment Haiku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Comment Haiku: | |
// Inspired by | |
// https://github.com/jquery/jquery/blob/fccfeefb1036ac70f565c2f54b55a14fca528d57/src/core.js#L513-514 | |
// Objects own props first, | |
// As we pass all but the last, | |
// My own prop means plain. | |
var key; | |
for ( key in obj ) {} | |
return key === undefined || hasOwn.call( obj, key ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The link for those of you who don't want to copy/paste it ;)