Skip to content

Function: formatList() ​

ts
function formatList(
   items, 
   locale?, 
   options?): string;

Parameters ​

ParameterTypeDefault value
itemsstring[]undefined
localestring'zh-CN'
optionsListFormatOptions{}

Returns ​

string

Released under the MIT License.