Skip to content

Instantly share code, notes, and snippets.

@gnarf
Forked from anonymous/gist:a367338a76dce2404c9a
Created April 27, 2012 06:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gnarf/bb4d8fbf36b0d493c698 to your computer and use it in GitHub Desktop.
Save gnarf/bb4d8fbf36b0d493c698 to your computer and use it in GitHub Desktop.
Comment Haiku
// 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 );
@gnarf
Copy link
Author

gnarf commented Apr 27, 2012

The link for those of you who don't want to copy/paste it ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment