.toLocaleString('en-us', {month: 'long', year: 'numeric'}) code example Example: toLocalString Data.prototype.toLocaleString()