Skip to content

Instantly share code, notes, and snippets.

@clarknelson
Created November 28, 2017 20:58
Embed
What would you like to do?
$('a').each(function(){
var $foo = $(this);
});
$('a').each(function(index, element){
var $foo = $(element);
});
@clarknelson
Copy link
Author

which is more performant

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