Lines Matching refs:each
7 _.each([1, 2, 3], function(num, i) {
12 _.each([1, 2, 3], function(num){ answers.push(num * this.multiplier); }, {multiplier: 5});
16 _.each([1, 2, 3], function(num){ answers.push(num); });
22 _.each(obj, function(value, key){ answers.push(key); });
27 _(1000).times(function() { _.each([], function(){}); });
30 _.each(obj, function(){ count++; });
34 _.each([1, 2, 3], function(num, index, arr){ if (_.include(arr, num)) answer = true; });
38 _.each(null, function(){ ++answers; });
41 _.each(false, function(){});
44 assert.strictEqual(_.each(a, function(){}), a);
45 assert.strictEqual(_.each(null, function(){}), null);
49 assert.strictEqual(_.forEach, _.each, 'is an alias for each');
53 _.each([true, false, 'yes', '', 0, 1, {}], function(context) {
54 _.each([1], function() {
80 _.each(tricks, function(trick) {
88 _.each(functions, function(method) {
94 _.each(reducers, function(method) {
115 _.each(collection.concat(array), function(method) {
133 _.each(collection.concat(object), function(method) {
407 _.each([null, void 0, 0, 1, NaN, {}, []], function(val) {
444 _.each([-0, +0], function(val) {