New in JavaScript 1.1
The following is a changelog for JavaScript from Netscape Navigator 2.0 to 3.0. The old Netscape documentation references this as "Features added after version 1". Netscape Navigator 3.0 was released on August 19, 1996. Netscape Navigator 3.0 was the second major version of the browser with JavaScript support.
JavaScript versions
Netscape Navigator 3.0 also introduced JavaScript language versions.
HTML
Copy Code
<SCRIPT LANGUAGE="JavaScript"> <!-- JavaScript for Navigator 2.0. --> <SCRIPT LANGUAGE="JavaScript1.1"> <!-- JavaScript for Navigator 3.0. -->
New features in JavaScript 1.1
New objects
New properties
New methods
New operators
Other new features
<noscript>
- LiveConnect. Communication between Java and JavaScript.
Changed functionality in JavaScript 1.1
- "Object deletion". You can remove an object by setting its object reference to
null
. constructor
andprototype
properties on objects added.eval()
is now a method of every object (was previously a built-in function); it evaluates a string of JavaScript code in the context of the specified object.Math.random()
now works on every platform.toString()
: Added radix parameter, which specifies the base to use for representing numeric values.isNaN()
now works on every platform (not only Unix anymore)parseFloat()
andparseint()
now returnNaN
on all platforms, if the first character of the specified string cannot be converted to a number; in previous releases, it returnedNaN
on Solaris and Irix and zero on all other platforms.
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/javascript/new_in_javascript/1.1