the Navigator object contains information about the browser.
Note: There is no public standard applied to the Navigator object, but this object is supported by all browsers. I feel the need to see what properties and methods, directly output the Navigator, and then view in the browser. An instance of the Navigator object is unique and can be referenced by the Navigator property of the Window object.
console.log(Navigator);
console.log(window.Navigator);
Results:Navigator cannot be uppercase, so it becomes a function.
console.log(navigator);
console.log(window.navigator);
The result of Firefox: Safari results: IE9 results: Opera:Some notes:appCodeName: declares the browser'scode name;The result values areits value is "Mozilla"; AppName: can returnname of the browser.
in a Netscape-based browser, the value of this property is "Netscape". In IE, the value of this property is Microsoft Internet Explorer.
appversion: platform and version information for the browser.
cookieenabled: true if the browser is enabled for cookies.
OnLine:declares whether the system is inoffline mode
The study of Navigator