by joshmanders · 1y ago · 0 comments
import { setTimeout as loiter } from "node:timers/promises";
await loiter(500);To me it's kinda like adding a shallowClone(old) helper instead of writing const obj = { ...old }.
But no point in arguing about it forever.