Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
isocroft authored Aug 11, 2022
1 parent 30a8ca2 commit 52f2251
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ This is where a new concept comes in. I call it **Engine Detection**. It's a con
/* The `navigator` object now supports `navigator.oscpu` and `navigator.ostitle` non-standard properties - polyfilled (Firefox is the only browser that support `navigator.oscpu` natively */
console.log(window.navigator.oscpu); // operating system cpu info e.g. "Windows NT 6.1"
console.log(window.navigator.ostitle); // operating system brand name e.g. "Windows 10 Pro; Intel - 64 bits"
console.hlog(window.navigator.oscpu); // operating system cpu info e.g. "Windows NT 6.1"
console.hlog(window.navigator.ostitle); // operating system brand name e.g. "Windows 10 Pro; Intel - 64 bits"
console.log(window.navigator.isSWCapable()); // determine if the browser can run a service worker natively
console.hlog(window.navigator.isSWCapable()); // determine if the browser can run a service worker natively
</script>
</body>
</html>
Expand Down

0 comments on commit 52f2251

Please sign in to comment.