The default behaviour of setTimeout seems problematic. Could be used for an exploit, because code like this might not work as expected:
    const attackerControlled = ...;
    if (attackerControlled < 60_000) {
      throw new Error("Must wait at least 1min!");
    }
    setTimeout(() => {
      console.log("Surely at least 1min has passed!");
    }, attackerControlled);
 replies(6):