js date object tolocalestring reference code example Example: toLocalString Data.prototype.toLocaleString()