Strange issue with `console.log()` omitting members of objects

I'm using Itty Router with CF Workers. For some reason, when working locally and I run console.log(req) (in middleware, obviously) the vast majority of the members of that object are not shown.

For example, if I run:
console.log(req)

...all I get logged is:
Request {
  query: Object,
  params: Object,
  route: *,
  content: Object
}

However, if I run:
console.log(req.keepalive)

...I get:
false

That's just one example of missing data. There's also a Headers object that I know is there because I can call req.headers.get('my-header') and it works.

Any thoughts as to what's going on here?
Was this page helpful?