1 00:00:00,234 --> 00:00:04,534 [MUSIC] 2 00:00:04,534 --> 00:00:07,700 Hey everyone, I'm Guil, a friend and teacher here at Treehouse. 3 00:00:07,700 --> 00:00:11,870 In this course, we're going to review new features available in ES2015, 4 00:00:11,870 --> 00:00:14,985 the 6th edition of ECMAScript. 5 00:00:14,985 --> 00:00:19,540 ES2015 is the largest upgrade to JavaScript since its creation. 6 00:00:19,540 --> 00:00:23,300 The language has new data types, improved utility functions, and 7 00:00:23,300 --> 00:00:26,680 features to better define the scope of your code blocks. 8 00:00:26,680 --> 00:00:29,450 Before we dive in, let's review some of JavaScript's past. 9 00:00:30,450 --> 00:00:34,120 In 1995, there was something called the browser wars. 10 00:00:34,120 --> 00:00:37,080 Netscape and Microsoft were going head to head rapidly 11 00:00:37,080 --> 00:00:40,436 expanding their Web browsers' capabilities and features. 12 00:00:40,436 --> 00:00:45,540 JavaScript was developed in just ten days by Brendan Eich at Netscape. 13 00:00:45,540 --> 00:00:50,070 Its primary goal was to be a lightweight interpreted language for non-programmers. 14 00:00:50,070 --> 00:00:54,410 To keep up, Microsoft later adopted the language, calling their version JScript. 15 00:00:55,470 --> 00:01:00,490 By 1997, JavaScript was in every browser and used by millions. 16 00:01:00,490 --> 00:01:05,310 The specification was then standardized by an international standards organization, 17 00:01:05,310 --> 00:01:07,010 Ecma International. 18 00:01:07,010 --> 00:01:10,190 Because Netscape owned the name JavaScript, Netscape and 19 00:01:10,190 --> 00:01:13,280 Microsoft agreed upon the name ECMAScript. 20 00:01:13,280 --> 00:01:18,000 ECMAScript and JavaScript are the same, and you'll hear them used interchangeably. 21 00:01:18,000 --> 00:01:22,360 By the end of 1999, ECMAScript 3 was standardized. 22 00:01:22,360 --> 00:01:26,520 It introduced things like regular expressions and exception handling. 23 00:01:26,520 --> 00:01:28,410 Then in late 2009, 24 00:01:28,410 --> 00:01:32,770 ECMAScript 5 introduced a number of useful features to the language. 25 00:01:32,770 --> 00:01:35,880 This version made JSON a first-class citizen 26 00:01:35,880 --> 00:01:40,590 with the addition of several methods that made using JSON a lot easier. 27 00:01:40,590 --> 00:01:41,535 Most importantly, 28 00:01:41,535 --> 00:01:45,160 JavaScript is the only programming language native in web browsers. 29 00:01:45,160 --> 00:01:48,160 That's the main reason it's becoming such a commonly used language. 30 00:01:48,160 --> 00:01:49,610 It's everywhere. 31 00:01:49,610 --> 00:01:52,220 JavaScript is changing, and as developers, 32 00:01:52,220 --> 00:01:55,710 we need to adapt to the exciting changes offered in ES2015. 33 00:01:57,170 --> 00:02:02,190 Many browsers have adopted, most if not all, of ES2015's features. 34 00:02:02,190 --> 00:02:05,380 Microsoft Edge, Apple Safari, Firefox, and 35 00:02:05,380 --> 00:02:09,370 Google's Chrome web browsers are rapidly adopting ES2015 features. 36 00:02:10,450 --> 00:02:14,870 For a chart that shows the adoption of ES2015 features in browsers, 37 00:02:14,870 --> 00:02:16,670 check out the teacher's notes. 38 00:02:16,670 --> 00:02:21,140 Because not all browsers yet support ES2015, we can lean on tools like Babel 39 00:02:21,140 --> 00:02:25,960 to transpile our ES2015 code into ES5 code for browsers. 40 00:02:25,960 --> 00:02:29,290 Now, we won't be using Babel in this course, but you can check the teacher's 41 00:02:29,290 --> 00:02:33,050 notes for links to resources and Treehouse videos on Babel. 42 00:02:33,050 --> 00:02:36,520 And the material in this course assumes that you've completed the prerequisites 43 00:02:36,520 --> 00:02:37,500 for the course. 44 00:02:37,500 --> 00:02:39,210 And if you want to brush up on your JavaScript, 45 00:02:39,210 --> 00:02:41,600 there's information in the teacher's notes to help you out. 46 00:02:42,860 --> 00:02:47,620 In the next video, I'll show you the new ways you can define a variable in ES2015 47 00:02:47,620 --> 00:02:50,320 with the let and const keywords. 48 00:02:50,320 --> 00:02:50,820 See you there.