WEBVTT 00:07.110 --> 00:14.190 In this video you're going to learn how to create arrays in E6 using the off method of the array object. 00:14.880 --> 00:24.610 So let's try those so let's create a variable X and store a new array inside so you can increase the 00:24.610 --> 00:28.620 array using the off method right. 00:29.080 --> 00:33.860 So we creating an array of one element here. 00:33.970 --> 00:38.300 So you're gonna pass the elements that you want to include in the array. 00:38.470 --> 00:42.740 So let's say that a single element is going to be three. 00:42.790 --> 00:47.330 So if you log X this is where you gonna get. 00:47.360 --> 00:50.470 So it's an array of one element. 00:50.470 --> 00:57.060 Now if you want to create an array of three elements you just pass three elements. 01:03.720 --> 01:06.870 Like that's so very important. 01:06.870 --> 01:13.140 You should not mix this with the array constructor because the return values are completely different. 01:13.140 --> 01:20.320 So let's create a constants that using the array constructor. 01:20.330 --> 01:26.520 So now if you pass three to the array constructor This means that you're gonna be creating an array 01:26.820 --> 01:29.640 of three empty slots. 01:29.730 --> 01:41.370 So if you log Z you're gonna get an array of three empty slots that say this is an array with three 01:42.090 --> 01:44.250 empty slots.