MCPcopy
hub / github.com/digitalocean/nginxconfig.io / setNavigatorLanguage

Method setNavigatorLanguage

test/testBrowserLanguage.js:43–46  ·  view source on GitHub ↗
(lang)

Source from the content-addressed store, hash-verified

41 }
42
43 static setNavigatorLanguage(lang) {
44 MockLocales.language = lang;
45 return this;
46 }
47
48 static setDateTimeLocale(locale) {
49 MockLocales.IntlBackup = Intl;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected