4elements web design & consultancy



  • 16

    JavaScript Loop Optimization

    4elements | web design The Hague blog • JavaScript Loop Optimization

    In this video, we'll look at some steps we can take to optimize our for loops so they are as performant as possible. We're going to be doing this through the use of a demo web application, three different browsers with tests, and sample code.

    Watch the Video

    A Quick Recap

    Recall in the video, we attempted to answer the following questions:

    1. What is the fastest way to iterate through a collection of elements?
    2. Why is this important to know?
    3. Does the type of data you're iterating through matter?

    Through the use of the video, the sample code available on GitHub, and the video linked above, you should be able to study what we've done and apply it with future work that you have with JavaScript, loops, and large data sets.

    martijn broeders

    founder/ strategic creative at 4elements web design & consultancy
    e-mail: .(JavaScript must be enabled to view this email address)
    phone: 06 38 55 28 54

By - category

    By - date