0 votes
in JavaScript by
How do you find operating system details in Javascript?

1 Answer

0 votes
by

The window.navigator object contains information about the visitor's browser OS details. Some of the OS properties are available under platform property,

console.log(navigator.platform);
...