The A List Apart Blog Presents:

Implicit and Explicit Loops in jQuery

Article Continues Below

One of jQuery’s strengths is that it allows one to act on entire groups of elements without writing out a for loop or using jQuery’s each method to iterate through every element. Those loops are still taking place behind the scenes though, and we can use that abstraction to help—or hinder—the efficiency of our code. This post from Elijah Manor will help you to identify some of jQuery’s “implicit” loops and outlines some of their performance implications.

No Comments

Got something to say?

We have turned off comments, but you can see what folks had to say before we did so.

More from ALA

Cross-Cultural Design

In this excerpt from Cross-Cultural Design, Senongo Akpem discusses the many facets of typography that must be considered when you are looking to reach a global audience.
Design

Making Room for Variation

In this excerpt from Expressive Designs Systems, Yesenia Perez-Cruz goes deep on what it takes to create design systems that enables intentional, meaningful variation.
Design