2.1.41 [ECMA-262/5] Section 18.104.22.168, Date.prototype.toDateString ()
The specification states:
This function returns a String value. The contents of the String are implementation-dependent, but are intended to represent the "date" portion of the Date in the current time zone in a convenient, human-readable form.
IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)
The returned String value is determined from the following steps:
Let tv be the time value.
If tv is NaN, return the string "
Let t be LocalTime(tv).
Using t, create a string value that has the following format, according to the variables that are defined in the table in section 2.1.40 of this document: