Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 652031 of New in JavaScript 1.8.1

  • Revision slug: Web/JavaScript/New_in_JavaScript/1.8.1
  • Revision title: New in JavaScript 1.8.1
  • Revision id: 652031
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment

Revision Content

The following is a changelog for JavaScript 1.8.1. This version was included in Firefox 3.5.

JavaScript 1.8.1 is a modest update syntactically to JavaScript; the main change in this release is the addition of the Tracemonkey just-in-time compiler, which improves performance.

New features in JavaScript 1.8.1

Changed functionality in JavaScript 1.8.1

  • Implicit setting of properties in object and array initializers no longer execute setters in JavaScript. This makes the behavior of setting the values of properties more predictable.

Revision Source

<div>
 <div>
  <section class="Quick_links" id="Quick_Links">
   {{ListSubpages("/en-US/docs/Web/JavaScript/New_in_JavaScript", "2", "0", "1")}}</section>
  <div>
   <p>The following is a changelog for JavaScript 1.8.1. This version was included in <a href="/en-US/Firefox/Releases/3.5">Firefox 3.5</a>.</p>
   <p>JavaScript 1.8.1 is a modest update syntactically to JavaScript; the main change in this release is the addition of the <a href="/en-US/docs/SpiderMonkey/Internals/Tracing_JIT" title="SpiderMonkey/Internals/Tracing JIT">Tracemonkey just-in-time compiler</a>, which improves performance.</p>
   <h2 id="New_features_in_JavaScript_1.5">New features in JavaScript 1.8.1</h2>
   <ul>
    <li><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf"><code>Object.getPrototypeOf()</code></a></li>
    <li><a href="/en-US/docs/Web/JavaScript/Guide/Using_native_JSON">Support for native JSON</a></li>
    <li><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim"><code>String.prototype.trim()</code></a></li>
    <li><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/TrimLeft"><code>String.prototype.trimLeft()</code></a></li>
    <li><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/TrimRight"><code>String.prototype.trimRight()</code></a></li>
    <li><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith"><code>String.prototype.startsWith()</code></a></li>
   </ul>
   <dl>
   </dl>
   <h2 id="Changed_functionality_in_JavaScript_1.5">Changed functionality in JavaScript 1.8.1</h2>
  </div>
 </div>
</div>
<ul>
 <li>Implicit setting of properties in object and array initializers no longer execute setters in JavaScript. This makes the behavior of setting the values of properties more predictable.</li>
</ul>
Revert to this revision