If I import js.html.Navigator and then try to access Navigator.language, the compiler reports “Class<js.html.Navigator> has no field languages” even while the docs say it’s there. js.html.Window.navigator has the same problem.
Thankfully if I use js.Browser.navigator (which returns a reference to js.Lib.global.navigator) it works fine, probably because global is a Dynamic.
Is that a bug or a feature I’m not understanding?