10LOC

#devtools

Chrome APIsintermediate

console.table and console.time power tricks for real debugging

type Row = { id: number; status: string; durationMs: number };

export const logBatchResult = async (rows: Row[], errors: { field: string; message: string }[]) => {
  console.table(rows, ["id", "status", "durationMs"]);

console.table renders records as a sortable grid instead of a collapsed tree, and console.time/timeLog/count turn ad-hoc timing into two-line instrumentation.