The following is a changelog for JavaScript from Netscape Navigator 3.0 to 4.0. The old Netscape documentation can be found on archive.org. Netscape Navigator 4.0 was released on June 11, 1997. Netscape Navigator 4.0 was the third major version of the browser with JavaScript support.
Netscape Navigator 4.0 executes JavaScript language versions up to 1.2. Note that Netscape Navigator 3.0 and earlier ignored scripts with the language attribute set to "JavaScript1.2" and higher.
<SCRIPT LANGUAGE="JavaScript1.1"> <!-- JavaScript for Navigator 3.0. --> <SCRIPT LANGUAGE="JavaScript1.2"> <!-- JavaScript for Navigator 4.0. -->
Array.prototype.concat()
Array.prototype.slice()
String.prototype.charCodeAt()
String.prototype.concat()
String.fromCharCode()
String.prototype.match()
String.prototype.replace()
String.prototype.search()
String.prototype.slice()
String.prototype.substr()
delete
==
and !=
)switch
do...while
import
export
NaN
rather than an error if x
is a string that does not contain a well-formed numeric literal.Array.prototype.sort()
now works on all platforms. It no longer converts undefined elements to null and sorts them to the high end of the array.String.prototype.split()
String.prototype.substring()
: no longer swaps index numbers when the first index is greater than the second.toString()
: now converts the object or array to a literal.break
and continue
statements can now be used with the new labeled statement.