Created — forked from anonymous/gist:a367338a76dce2404c9a

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Comment Haiku

View gist:bb4d8fbf36b0d493c698
1 2 3 4 5 6 7 8 9 10 11 12
// 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 );
Owner
gnarf commented

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
Something went wrong with that request. Please try again.