Number.prototype.toLocaleString

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

Syntax

toLocaleString()