export function each(arr: any[], cb) { arr.forEach(cb); }