Showing posts with label ES6. Show all posts
Showing posts with label ES6. Show all posts
Tuesday, November 26, 2019

ES6 Recipe: JSON.stringify Map

The keys of a Map can be anything, including objects. But JSON syntax only allows strings as keys...

Let's stringify Map instance to JSON...
Monday, June 27, 2016

Keynote: Angular2 Basic Short Notes

Angular2


Superheroic, non-opinionated Framework.
Angular delivers the productivity and scalable infrastructure that supports Google's largest applications.
Despite the fact that, new 2.0 version of Angular is focused on ES6 standart and is Not compatible with the 1.4, it's definitely worth to use it.
Angular leverages ES 2015 standards and doesn't force you to stuck with one option.
You can use TypeScript, Dart or JavaScript to write your application.
Monday, November 30, 2015

Meet ECMA Script 2015 (ES6)

ECMAScript 6


ES6 is the next generation of JavaScript, standard update since 2009.
The frameworks like AngularJS, Ember, Aurelia, etc. are already targeted on ES6 future releases.

What is New?

This ECMAScript update brings a lot of useful stuff into JS world.
Here are some of new features to enjoy:
  • block scoped variables;
  • arrow functions;
  • default parameters, rest & spread operators;
  • string interpolation;
  • binary, octal; string unicode & regexp literals;
  • Array element finding;
  • properties shorthand;
  • destructing assignment;
  • Modules, Classes & Promises;
  • Map/WeakMap & Set/WeakSet;
  • Iterators & Generators;
  • for...of loop;