Test case details

Preparation Code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"> </script> <script>   var a = $('*').get(),       e; </script>

Test cases

Test #1

$.each(a, function() {   e = this; });

Test #2

for (var i = 0, len = a.length; i < len; i++) {   e = a[i]; };

Test #3

for (var i = 0; i < a.length; i++) {   e = a[i]; };

Test #4

for (var i in a) {   e = a[i]; };

Test #5

for (var i = a.length; i--;) {   e = a[i]; }

Test #6

var i = a.length while (i--) {   e = a[i]; }

Test #7

a.forEach(function(elem) {   e = elem; });