What does this cache-boundary check print?

from DNS resolution
Node 24 beginner 3 min

What does this cache-boundary check print?

JavaScript
const expiresAt = 30;

function source(now) {
  return now < expiresAt ? "cache" : "refresh";
}

console.log(`t=29 ${source(29)}`);
console.log(`t=30 ${source(30)}`);
Open in playground
Report an error