updating comprehension speed test with the new normal comprehensions
This commit is contained in:
parent
ad18378f7e
commit
c265b7d5d6
|
@ -52,7 +52,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
JSLitmus.test('the new comprehensions', function() {
|
JSLitmus.test('weepy\'s comprehensions', function() {
|
||||||
__c = []; __a = arr;
|
__c = []; __a = arr;
|
||||||
__d = function(num, __b) {
|
__d = function(num, __b) {
|
||||||
__c.push(num);
|
__c.push(num);
|
||||||
|
@ -63,6 +63,14 @@
|
||||||
for (__b in __a) { if (__a.hasOwnProperty(__b)) __d(__a[__b], __b); }
|
for (__b in __a) { if (__a.hasOwnProperty(__b)) __d(__a[__b], __b); }
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
JSLitmus.test('CoffeeScript 0.2.2 comprehensions', function() {
|
||||||
|
__c = []; __a = arr;
|
||||||
|
for (__b=0; __b<__a.length; __b++) {
|
||||||
|
num = __a[__b];
|
||||||
|
__c.push(num);
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue