WEBVTT 00:06.660 --> 00:14.260 In the coming chapters you're going to learn E6 or modern JavaScript or next generation javascript E6 00:14.280 --> 00:21.300 comes with so many features which were designed to make your javascript coding experience a lot easier. 00:23.730 --> 00:31.660 So at the moment not all features in iOS 6 are compatible with modern browsers. 00:31.860 --> 00:37.950 But the good news is that most of those features they are compatible with updated versions of those 00:37.950 --> 00:38.710 browsers. 00:38.820 --> 00:44.580 But to make sure that's all features you use in E6 are compatible with the different browsers you can 00:44.580 --> 00:46.710 use a trans pilot like Babel. 00:46.710 --> 00:53.730 So a trans Pilar will just convert your next generation javascript code into old is 5 code to make sure 00:53.760 --> 01:04.610 it does work on all browsers so in the coming chapters we will use Google Chrome to run iOS 6 code because 01:04.610 --> 01:10.300 chrome supports most of the features or the new features which come with E6. 01:10.400 --> 01:17.630 So to get a quick flavor of the E6 syntax and the different features it comes with. 01:17.630 --> 01:25.160 You can go to the Babel website so with the left hand side you will see E6 code on next generation code 01:26.030 --> 01:32.780 and on the right hand side you can see that code being converted to the old S5 syntax which can be understood 01:32.990 --> 01:43.530 by all modern browsers so to have a quick idea about the syntax of iOS 6 the different features I'm 01:43.610 --> 01:44.020 going to do. 01:44.020 --> 01:50.430 Going to refresh the page so once you visit the landing page you will see so many examples on the left 01:50.430 --> 01:51.290 hand side here. 01:51.310 --> 01:51.740 All right. 01:51.750 --> 01:54.790 Being transpired to iOS why code. 01:55.050 --> 01:57.900 So we're gonna go through these examples really quickly. 01:57.930 --> 02:00.320 You don't have to worry about the syntax now right. 02:00.330 --> 02:06.510 So this is just to get an idea and then in the coming chapters we will cover iOS 6 features in great 02:06.540 --> 02:09.230 detail with a comprehensive covering. 02:09.450 --> 02:17.340 So let's refresh the page and have a quick look so you can see here an example using an arrow function. 02:17.610 --> 02:21.460 So we'll see later how arrow functions work. 02:21.470 --> 02:28.830 This example uses the structuring to create many variables using an array we are creating a constant 02:28.830 --> 02:35.440 here and we are using the spread operator inside an array and we will see later what that means. 02:35.460 --> 02:40.440 This is a good example of creating an object literal and you can see the new syntax of creating a property 02:40.800 --> 02:44.760 not using function call on its own. 02:44.760 --> 02:50.970 So here we've got a couple of three strings being stored inside a couple of variables and we are creating 02:50.970 --> 02:53.990 a string and using the variables instead that insight. 02:54.000 --> 03:01.240 Using this syntax and here we are declaring a variable using let. 03:01.250 --> 03:09.020 So that's a new keyword which is used instead of VAR and we will see later the use of letters and what 03:09.170 --> 03:10.070 it involves. 03:10.100 --> 03:15.070 When it comes to the scope of variables and so on. 03:15.830 --> 03:22.850 So those were just a few examples which went really quickly. 03:22.880 --> 03:25.340 So you have to worry about them for now. 03:25.340 --> 03:29.680 So in the coming chapters you will understand all those features in great detail.