Efficient use of the each function
This code is efficient from a performance standpoint because we are creating variables outside the loop and pass them into the loop. Also we are NOT checking the DOM for #divResult every time we loop through <li>.
Talk To Me
This code is efficient from a performance standpoint because we are creating variables outside the loop and pass them into the loop. Also we are NOT checking the DOM for #divResult every time we loop through <li>.