Does jQuery use create document fragment inside each loops?
问题 So I've read that jQuery uses document fragments internally to make rendering faster. But I am wondering if anyone knows if jQuery would use createDocumentFragment in this situation where I'm appending img elements to the DOM using the each loop? var displayArray = []; // Lots of img elements $.each(displayArray, function() { $('#imgSection').append(this); }); Or would I need to use this code in order to reduce the number of browser reflows? var displayArray = []; // Lots of img elements var