1
00:00:01,569 --> 00:00:02,110
All right.

2
00:00:02,110 --> 00:00:05,260
Let me show you how I'm going to solve this question.

3
00:00:05,920 --> 00:00:09,840
The first one is that creates an array of strings.

4
00:00:09,850 --> 00:00:14,410
So this one tells me the kind of variable are supposed to use the first one.

5
00:00:14,410 --> 00:00:20,280
So counts how we say my string str and it can be of any type.

6
00:00:20,290 --> 00:00:25,750
I can say this and then comma is.

7
00:00:25,870 --> 00:00:28,120
And I would say mine.

8
00:00:28,690 --> 00:00:30,780
I would say Node.js.

9
00:00:30,850 --> 00:00:32,880
Anything is a string, right?

10
00:00:32,890 --> 00:00:36,610
Let me say you like that.

11
00:00:36,760 --> 00:00:43,030
I'm done with the first one array of string because didn't specify that which is type in say a specific

12
00:00:43,030 --> 00:00:43,350
string.

13
00:00:43,360 --> 00:00:45,670
So if I do this one, I'm correct.

14
00:00:46,180 --> 00:00:49,810
The next one says that create a for loop.

15
00:00:49,840 --> 00:00:50,980
Here is a problem.

16
00:00:51,640 --> 00:00:55,250
Create a for loop that prints out the strings in the array.

17
00:00:55,270 --> 00:00:56,560
So here we go.

18
00:00:56,920 --> 00:00:58,510
So for.

19
00:01:00,030 --> 00:01:05,550
Then I would say let's not that that is let's.

20
00:01:06,710 --> 00:01:08,810
Initialization equal to zero.

21
00:01:09,350 --> 00:01:13,220
Next is I will check the length of my array.

22
00:01:13,430 --> 00:01:15,160
So here we have how many records?

23
00:01:15,310 --> 00:01:15,890
I think zero.

24
00:01:15,890 --> 00:01:17,690
One, two, three, four.

25
00:01:17,930 --> 00:01:23,810
So I would take the string array dot length if.

26
00:01:24,780 --> 00:01:26,790
I is less than sorry.

27
00:01:27,450 --> 00:01:34,010
If I is less than the total length of record in the array, then I should stop this looping.

28
00:01:34,020 --> 00:01:36,420
Then I'm going to increase I plus plus.

29
00:01:36,420 --> 00:01:39,690
So inside here I'm going to console.log.

30
00:01:41,710 --> 00:01:44,230
Cohen so that luck I.

31
00:01:44,470 --> 00:01:46,090
So as before.

32
00:01:46,750 --> 00:01:48,400
So let's check the console.

33
00:01:48,400 --> 00:01:54,650
And now I have those record here as what let me.

34
00:01:54,730 --> 00:01:56,020
Oh, let me comment out this one.

35
00:01:56,020 --> 00:01:57,610
Sorry, this one is looping.

36
00:01:58,150 --> 00:01:58,690
Yeah.

37
00:01:58,690 --> 00:02:05,320
So I go the same thing zero one, two, three, five times ago we have five records in the array.

38
00:02:05,350 --> 00:02:09,400
101, two, three, four.

39
00:02:10,220 --> 00:02:11,039
That is it.

40
00:02:11,060 --> 00:02:16,340
The next says that you should print out something like this is a string number.

41
00:02:16,340 --> 00:02:26,870
So instead of this one we could use temporarily try and say this is string number.

42
00:02:27,260 --> 00:02:33,770
Then I would inject my dynamic value, which is my I and I see I, I got it.

43
00:02:33,770 --> 00:02:36,380
See that this is string number zero.

44
00:02:36,410 --> 00:02:37,910
This is string number one.

45
00:02:37,910 --> 00:02:38,600
Number two.

46
00:02:38,600 --> 00:02:39,320
Number three.

47
00:02:39,320 --> 00:02:40,070
Number four.

48
00:02:40,550 --> 00:02:41,660
That is it, guys.

49
00:02:41,720 --> 00:02:45,560
The next video, let's see another coding challenge.

