Skip to content

Instantly share code, notes, and snippets.

@clarknelson
Created Nov 28, 2017
Embed
What would you like to do?
$('a').each(function(){
var $foo = $(this);
});
$('a').each(function(index, element){
var $foo = $(element);
});
@clarknelson

This comment has been minimized.

Copy link
Owner Author

@clarknelson clarknelson commented Nov 28, 2017

which is more performant

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