MtoLocaleString
Bun

method

buffer.Buffer.toLocaleString

Not implemented in Bun

toLocaleString(): string;

Converts a number to a string by using the current locale.

locales: string | string[],
options?: NumberFormatOptions
): string;