Create a gist now

Instantly share code, notes, and snippets.

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
Owner

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