[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/caseFirst [Back]  [Original]

Intl.Locale.prototype.caseFirst - JavaScript | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

Intl.Locale.prototype.caseFirst

Baseline Widely available

This feature is well established and works across many devices and browser versions. Its been available across browsers since 2020 9.

Intl.Locale caseFirst / .

In this article

. . Intl.Locale caseFirst .

caseFirst 3 .

caseFirst

upper .
lower .
false .

caseFirst

caseFirst kf . kf " " . , -u . caseFirst Locale . caseFirst -u . caseFirst -kf . caseFirst .

js
const locale = new Intl.Locale("fr-Latn-FR-u-kf-upper");
console.log(locale.caseFirst); // Prints "upper"

caseFirst

Intl.Locale() . caseFirst caseFirst .

js
const locale = new Intl.Locale("en-Latn-US", { caseFirst: "lower" });
console.log(locale.caseFirst); // Prints "lower"

Specification
ECMAScript 2027 Internationalization API Specification
# sec-Intl.Locale.prototype.caseFirst


Web Proxy Viewer  |  New URL  |  Original Page