We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 932b32d commit 98ba610Copy full SHA for 98ba610
packages/database/src/core/util/util.ts
@@ -395,12 +395,6 @@ export const splitStringBySize = function(
395
* @param fn The function to apply
396
*/
397
export function each(obj: object, fn: (k: string, v: any) => void) {
398
- /**
399
- * in the conversion of code we removed the goog.object.forEach
400
- * function which did a value,key callback. We standardized on
401
- * a single impl that does a key, value callback. So we invert
402
- * to not have to touch the `each` code points
403
- */
404
for (const key in obj) {
405
if (obj.hasOwnProperty(key)) {
406
fn(key, obj[key]);
0 commit comments