Every line of 'backbone each' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
71 each: function each(callback) { 72 for (var key in storage$1) { 73 if (callback(this.get(key), key) === false) return; 74 } 75 }
170 jQuery.fn._each = function _each(callback, args) { 171 return jQuery._each(this, callback, args) 172 }
32 function each(collection, callback) { 33 var l = collection.length, 34 i = 0; 35 36 for (; i < l; i++) { 37 if ( callback.call(collection[i], collection[i], i, collection) === false ) { break; } 38 } 39 }
3 root.define("utilities.each", function each(array, callback) 4 { 5 if (Array.isArray(array)) for(var arrayCounter=0;arrayCounter
103 async each(iterator: (object: T) => Promise): Promise { 104 // Get objects 105 const objects = [...this._objects]; 106 107 for(let object of objects) { 108 await iterator(object); 109 } 110 111 return; 112 }