All right.
Let me show you how I'm going to solve this question.
The first one is that creates an array of strings.
So this one tells me the kind of variable are supposed to use the first one.
So counts how we say my string str and it can be of any type.
I can say this and then comma is.
And I would say mine.
I would say Node.js.
Anything is a string, right?
Let me say you like that.
I'm done with the first one array of string because didn't specify that which is type in say a specific
string.
So if I do this one, I'm correct.
The next one says that create a for loop.
Here is a problem.
Create a for loop that prints out the strings in the array.
So here we go.
So for.
Then I would say let's not that that is let's.
Initialization equal to zero.
Next is I will check the length of my array.
So here we have how many records?
I think zero.
One, two, three, four.
So I would take the string array dot length if.
I is less than sorry.
If I is less than the total length of record in the array, then I should stop this looping.
Then I'm going to increase I plus plus.
So inside here I'm going to console.log.
Cohen so that luck I.
So as before.
So let's check the console.
And now I have those record here as what let me.
Oh, let me comment out this one.
Sorry, this one is looping.
Yeah.
So I go the same thing zero one, two, three, five times ago we have five records in the array.
101, two, three, four.
That is it.
The next says that you should print out something like this is a string number.
So instead of this one we could use temporarily try and say this is string number.
Then I would inject my dynamic value, which is my I and I see I, I got it.
See that this is string number zero.
This is string number one.
Number two.
Number three.
Number four.
That is it, guys.
The next video, let's see another coding challenge.