Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2021년 4월.
Intl.ListFormat 객체는 언어별 목록 서식을 가능하게 합니다.
Intl.ListFormat 객체를 생성합니다.
런타임의 기본 로케일로 돌아가지 않고 지원되는 제공된 로케일이 포함된 배열을 반환합니다.
다음 속성은 Intl.ListFormat.prototype에 정의되어 있으며, 모든 Intl.ListFormat 인스턴스에 공유됩니다.
Intl.ListFormat.prototype.constructor인스턴스 객체를 생성한 생성자 함수입니다. Intl.ListFormat 인스턴스의 경우, 초기 값은 Intl.ListFormat 생성자입니다.
Intl.ListFormat.prototype[@@toStringTag]@@toStringTag 속성의 초기 값은 문자열 "Intl.ListFormat" 입니다. 이 속성은 Object.prototype.toString()에서 사용합니다.
목록의 요소를 표현하는 언어별 형식의 문자열을 반환합니다.
Intl.ListFormat.prototype.formatToParts()로케일 인식 방식으로 값 목록의 형식을 맞추는 데 사용할 수 있는 컴포넌트를 의미하는 객체 배열을 반환합니다.
Intl.ListFormat.prototype.resolvedOptions()현재 Intl.ListFormat 객체를 구성하는 동안 계산된 로케일 및 스타일 서식 지정 옵션을 반영하는 속성을 가진 새 객체를 반환합니다.
다음 예제는 영어를 사용하여 목록 형식기를 만드는 방법을 보여줍니다.
다음 예제는 형식이 맞춰진 부분을 반환하는 목록 형식기를 만드는 방법을 보여줍니다.
| ECMAScript® 2027 Internationalization API Specification # listformat-objects |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 2월 11일 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.