What is new in ECMAScript 5 (ES5)

ECMAScript 5 (ES5): The 5th edition of ECMAScript, standardized in 2009.

What is new in ES5?

New Features in ECMAScript 5 (ES5)

  • Data and Accessors
  • Strict mode

Syntactic Changes in ECMAScript 5 (ES5)

  • Reserved work as property key
  • Legal trailing commas
  • Multi-line string literals

New Functionality in ECMAScript 5 (ES5)

  • Getting & setting prototypes
  • Maintaining property attributes via property descriptor
  • Listing properties
  • Protecting objects
  • New function methods
  • New array methods

JSON Support in ECMAScript 5 (ES5)

  • JSON.parse()
  • JSON.stringify()
  • Some built-in objects have special toJSON() methods

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s