format
Returns a string with a language-specific representation of the list.
Return
{string} A language-specific formatted string representing the elements of the list.
Parameters
list
An iterable object, such as an Array.
Throws
`TypeError`
if list includes something other than the possible values.