listFormat([]);
listFormat(['Bob']);
listFormat(['Bob', 'Alice']);
listFormat(['Bob', 'Ben', 'Tim', 'Jane', 'John']);
listFormat(['Bob', 'Ben', 'Tim', 'Jane', 'John'], {
length: 3,
});
listFormat(['Bob', 'Ben', 'Tim', 'Jane', 'John'], {
length: 4,
});
listFormat(['Bob', 'Ben', 'Tim', 'Jane', 'John'], {
length: 3,
sorted: true,
});
listFormat(['Bob', 'Ben', 'Tim', 'Jane', 'John', 'Bob'], {
length: 3,
unique: true,
});
listFormat(['Bob', 'Ben', 'Tim', 'Jane', 'John'], {
length: 3,
unique: true,
});
listFormat(['Bob', 'Ben', '', '', 'John']);