edit-article
Home
Up
Delete
Article Name:
Article Description:
whats NEW ...] object.getPrototypeOf() method ] native support for JSON parse and stringify ] 3 new String methods trim, trimLeft, trimRight
Chapter ID/Name:
Status:
Write
Writing
Written
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">version - javascript 1.8.1</h1> <h2>[WHAT]</h2> <ol> <li>] the following list outlines features that are new to the js langauage in this version. </li> </ol> <h2>[WHY]</h2> <ol> <li><strong>] object.getPrototypeOf()</strong></li> <ol> <li>] new method that returns the prototype of a specified object.</li> </ol> <li><strong>] native support for JSON</strong></li> <ol> <li>] json.parse - convert a json object into a javascript object</li> <li>] json.stringify - </li> </ol> <li><strong>] The String object now has 3 new methods</strong></li> <ol> <li>] trim() -</li> <li>] trimLeft() -</li> <li>] trimRight() - </li> </ol></ol> <h2>[WHERE]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>] firefox 3.5</li> </ol> <h2>[WHEN]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>] </li> </ol> <h2>[EXAMPLE]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>]</li> </ol> <h2>[HOW-TO]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>]</li> </ol> <h2>[REFERENCE]</h2> <ol> <li>] MDN <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/1.8.1">https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/1.8.1</a></li> </ol>