0

in the below post JavaScript code why he used for loop? we can just print the const right?

https://www.sololearn.com/post/528804/?ref=app

1st Sep 2020, 8:23 AM
Mr. 12
Mr. 12 - avatar
5 odpowiedzi
+ 1
ok, i got it
1st Sep 2020, 8:39 AM
Mr. 12
Mr. 12 - avatar
+ 1
Because he is mad 😜
1st Sep 2020, 8:27 AM
Akash Agrawal
Akash Agrawal - avatar
+ 1
He trying to half of length of sentence times printing
1st Sep 2020, 8:28 AM
Vadivelan
0
Vadivelan so, is it going to print 6 times?
1st Sep 2020, 8:30 AM
Mr. 12
Mr. 12 - avatar
0
Mr. 12 Yes
1st Sep 2020, 8:41 AM
Vadivelan