{"id":801,"date":"2015-12-12T17:30:42","date_gmt":"2015-12-12T14:30:42","guid":{"rendered":"https:\/\/sobbayi.com\/?p=801"},"modified":"2024-02-20T10:26:01","modified_gmt":"2024-02-20T07:26:01","slug":"introduction-to-ecmascript-6-the-official-javascript","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/","title":{"rendered":"Introduction to ECMAScript 6, the Official JavaScript"},"content":{"rendered":"

Mid 2015 saw ECMAScript<\/a> 6, the current version of JavaScript<\/a> officially become a standard. ECMAScript 6 is the current and latest standard of the JavaScript programming language.<\/p>\n

Why ECMAScript 6? Because the title JavaScript is a trademark of Oracle. Oracle inherited the title from Sun MicroSystems. Therefore ECMAScript 6 is the official name for JavaScript today.<\/p>\n

JavaScript is the common day-to-day name among those in the programming<\/a> community.<\/p>\n

About The ECMAScript 6 Overview<\/h2>\n

This article does not intend to be a tutorial. It does not make any attempt to present code samples. It merely serves as a foundation for the upcoming JavaScript tutorial series, related articles, and coding boot camps.<\/p>\n

We felt that it was good to have a general overview of the current JavaScript standard. There are other resources online where you can learn more about ECMAScript and its history.<\/p>\n

This document is a summary of more in-depth articles and ebooks that you can find on the Internet.<\/p>\n

Where Does ECMAScript 6 Run?<\/h2>\n

ECMAScript 6 runs off any platform that has a compatible JavaScript Engine. It is also consumed by transpilers also known as JavaScript compilers. Examples of compatible JavaScript compilers are Babel and Traceur.<\/p>\n

The web browsers with the most support for ECMAScript 6 as of December 2015 are Edge 13, Firefox 44,\u00a0 Chrome 48 and Opera 35.<\/p>\n

Server runtimes such as Node 5.0<\/a>, EchoJs<\/a> and Kinoma XS6 are also compatible with ES6.<\/p>\n

You can have a look at this ECMAScript compatibility matrix for more information and you can also bookmark it for your future reference.<\/p>\n

Kinoma’s XS6 JavaScript engine is currently the JavaScript Engine that scores the highest in ECMAScript 6 compatibility.<\/p>\n

Even though JavaScript Engines endeavor to upgrade JavaScript version unobtrusively, there are always challenges dealing with old code in the wild. Regardless of this; ES6 strives to be a better programming language.<\/p>\n

Goals for ECMAScript 6<\/h2>\n
    \n
  • To make ES6 a better language for writing complex applications.<\/li>\n
  • A better language for writing code generators and<\/li>\n
  • A better language for writing libraries.<\/li>\n
  • To improve versioning by keeping it simple and as linear as possible.<\/li>\n
  • To improve interoperability by adopting standards as much as possible.<\/li>\n<\/ul>\n

    General ECMAScript 6 Features<\/h2>\n

    The general features that come with ES6 resolve around these issues.<\/p>\n

      \n
    • Better syntax for Classes and Modules.<\/li>\n
    • New functionality in the standard library such as maps, sets, promises, strings, and arrays.<\/li>\n
    • Brand new features such as Generators, Proxies, and Weakmaps.<\/li>\n<\/ul>\n

      Other additional major enhancements that come with ES6 include modules, class declarations, iterators, and generators, lexical block scoping, destructuring patterns, promises for asynchronous programming, and proper tail calls.<\/p>\n

      What’s Next with ECMAScript?<\/h2>\n

      The next version of JavaScript presumably ECMAScript 7 will be released in 2016. The official name is ECMAScript 2016 and that will be the naming convention from ECMAScript 2016 moving forward.<\/p>\n

      The new naming convention has been adopted to fit a road-map that will see the release of a new version of ECMAScript coming out every year. These new versions will probably be small upgrades rather than major overhauls.<\/p>\n

      Source: “Proposed ECMAScript 4th Edition \u2013 Language Overview”.<\/p>\n","protected":false},"excerpt":{"rendered":"

      Mid 2015 saw ECMAScript 6, the current version of JavaScript officially become a standard. ECMAScript 6 is the current and latest standard of the JavaScript programming language. Why ECMAScript 6?…<\/p>\n","protected":false},"author":1,"featured_media":2491,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,27,16],"tags":[212,328,350,471,472,544,545,591,636],"yoast_head":"\nECMAScript 6, the Definitive Introduction of JavaScript<\/title>\n<meta name=\"description\" content=\"The overview of ECMAScript 6 better known as JavaScript talks about the general features of ECMAScript and it relation to more in depth JavaScript resources\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ECMAScript 6, the Definitive Introduction of JavaScript\" \/>\n<meta property=\"og:description\" content=\"The overview of ECMAScript 6 better known as JavaScript talks about the general features of ECMAScript and it relation to more in depth JavaScript resources\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-12T14:30:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-20T07:26:01+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"Introduction to ECMAScript 6, the Official JavaScript\",\"datePublished\":\"2015-12-12T14:30:42+00:00\",\"dateModified\":\"2024-02-20T07:26:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/\"},\"wordCount\":495,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg\",\"keywords\":[\"ECMAScript\",\"JavaScript\",\"Libraries\",\"Programming\",\"Programming Languages\",\"Software development\",\"Software Engineering\",\"Tools\",\"Web Applications\"],\"articleSection\":[\"Articles\",\"Programming\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/\",\"url\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/\",\"name\":\"ECMAScript 6, the Definitive Introduction of JavaScript\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg\",\"datePublished\":\"2015-12-12T14:30:42+00:00\",\"dateModified\":\"2024-02-20T07:26:01+00:00\",\"description\":\"The overview of ECMAScript 6 better known as JavaScript talks about the general features of ECMAScript and it relation to more in depth JavaScript resources\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#primaryimage\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Kakamega, Kenya. Ecmascript 6 JavaScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction to ECMAScript 6, the Official JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/x.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ECMAScript 6, the Definitive Introduction of JavaScript","description":"The overview of ECMAScript 6 better known as JavaScript talks about the general features of ECMAScript and it relation to more in depth JavaScript resources","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/","og_locale":"en_US","og_type":"article","og_title":"ECMAScript 6, the Definitive Introduction of JavaScript","og_description":"The overview of ECMAScript 6 better known as JavaScript talks about the general features of ECMAScript and it relation to more in depth JavaScript resources","og_url":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2015-12-12T14:30:42+00:00","article_modified_time":"2024-02-20T07:26:01+00:00","og_image":[{"width":1200,"height":630,"url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg","type":"image\/jpeg"}],"author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"Introduction to ECMAScript 6, the Official JavaScript","datePublished":"2015-12-12T14:30:42+00:00","dateModified":"2024-02-20T07:26:01+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/"},"wordCount":495,"commentCount":0,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"image":{"@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg","keywords":["ECMAScript","JavaScript","Libraries","Programming","Programming Languages","Software development","Software Engineering","Tools","Web Applications"],"articleSection":["Articles","Programming","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/","url":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/","name":"ECMAScript 6, the Definitive Introduction of JavaScript","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"primaryImageOfPage":{"@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#primaryimage"},"image":{"@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg","datePublished":"2015-12-12T14:30:42+00:00","dateModified":"2024-02-20T07:26:01+00:00","description":"The overview of ECMAScript 6 better known as JavaScript talks about the general features of ECMAScript and it relation to more in depth JavaScript resources","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#primaryimage","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2015\/12\/kakamega-ecmascript-6-javascript.jpg","width":1200,"height":630,"caption":"Kakamega, Kenya. Ecmascript 6 JavaScript"},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/introduction-to-ecmascript-6-the-official-javascript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"Introduction to ECMAScript 6, the Official JavaScript"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/x.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/801"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=801"}],"version-history":[{"count":3,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/801\/revisions"}],"predecessor-version":[{"id":13496,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/801\/revisions\/13496"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media\/2491"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=801"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}