Tuesday, March 19, 2013

LATEST JAVA SCRIPT VERSION

JavaScript 1.8.5 is the latest version of JavaScript.Javascript 1.8.5 has introduced many new features as shown below; -The javaScript 1.8.5 is supported by Mozilla 4.0 and Internet Explorer 9.0 -The new array of features introduced in JavaScript 1.8.5 includes: String.prototype.trim,Array.prototypelastindexOf,Array.prototype.some,Array.prototype.map,Array.prototype.reduce,Array.prototype.reduceRight,Array.prototype.indexOf,Array.prototype.every, Array.prototype.forEach,Array.prototype.filter and Object.getPrototype Of.All these features of JavaScript 1.8.5 are linked in the mdn documentation.To know the browsers that support these features of JavaScript 1.8.5, verify the compatibility table formulated by Juriy Zaytsev. -JavaScript 1.8.5 also introduces a new garbage collector that scans the C stack. Javascript 1.8.5's garbage collector looks for bits that it treats as possible GC roots. As this collector is conservative, it finds "garbage" addresses that trigger warnings given out by specific code analysis tools.
                   FEATURES OF JAVASCRIPT 1.8.5
JavaScript 1.8.5 is the current version of JavaScript.JavaScript 1.8.5 has introduced wide range of methods that offer flexible features as listed below
 -Object.create method of JavaScript 1.8.5 is used to create a new object along with prototype properties.

-Object.defineProperties of javaScript 1.8.5 is used to append named properties that are described by given descriptors to a given object.

 -Object.getOwnPropertyDescriptor of JavaScript 1.8.5 is used to return property descriptor for named property of an object

-Object.keys of JavaScript 1.8.5 returns a set of all enumerable properties of an object. 

-Object.getOwnPropertyNames of JavaScript 1.8.5 returns a collection of enumerable properties ana non-enumerable properties of an object.

-Object.preventExtensions of JavaScript 1.8.5 prevents xtension of objects.

-Object.isExtensible of JavaScript determines if extension of objects is allowed

 -Object.seal of JavaScript 1.8.5 ensures that other code doesn't delete properties of objects. 

-Object.isSealed of JavaScript 1.8.5 determines if whether an objects is sealed or not.

-Object.freeze of javaScript 1.8.5 freezes object to prevent the other code from deleting or changing any properties.

   JavaScript 1.8.5 also has methods to find if an object is frozen
-Array.isArray of javascript 1.8.5 verifies whether variable is an array

 -Date.toJSON of javascript 1.8.5 returns a string of JSON format for any date object.

No comments:

Post a Comment