简体中文
外观
NSLocale.ISOCountryCodes
ISOCountryCodes 静态属性是全部 ISO 3166 国家和地区代码。
ISOCountryCodes
字符串数组。
TypeError
'CN'
console.log(NSLocale.ISOCountryCodes.includes('CN'));
结果:输出 true。
true
NSLocale.ISOCountryCodes(类属性)。
NSLocale