Intl.Locale

Intl.Locale 构造器(constructor) 是 Intl 对象的标准内置属性。

语法(Syntax)

new Intl.Locale([tag[, options]]) 

描述(Description)

Intl.Locale 对象包含以下属性和方法:

属性(Properties)

 

Intl.Locale.prototype
Locale 构造器的原型对象。

 

规格说明(Specifications)

Specification Status Comment
Intl.Locale proposal Stage 3  

浏览器兼容性(Browser compatibility)

Update compatibility data on GitHub
Desktop Mobile Server
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet Node.js
Locale Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
baseName Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
calendar Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
caseFirst Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
collation Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
hourCycle Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
language Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
maximize Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
minimize Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
numberingSystem Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
numeric Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
prototype Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
region Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
script Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No
toString Chrome Full support 74 Edge No support No Firefox No support No IE No support No Opera No support No Safari No support No WebView Android Full support 74 Chrome Android Full support 74 Firefox Android No support No Opera Android No support No Safari iOS No support No Samsung Internet Android No support No nodejs No support No

Legend

Full support  
Full support
No support  
No support

参阅