Bun

class

Navigator

class Navigator

The state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities.

MDN Reference