0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<ul><li>script.js</li>
1
<ul><li>script.js</li>
2
</ul><p>JavaScript</p>
2
</ul><p>JavaScript</p>
3
<p>var usersByDay = [812, 1360, 657, 1247];</p>
3
<p>var usersByDay = [812, 1360, 657, 1247];</p>
4
<p>Thanks! We’ll fix everything at once!</p>
4
<p>Thanks! We’ll fix everything at once!</p>
5
<h2>Result</h2>
5
<h2>Result</h2>
6
<ol><li>On the second line, log usersByDay array length in the console.</li>
6
<ol><li>On the second line, log usersByDay array length in the console.</li>
7
<li>On the next line, log the last element of the array in the console: usersByDay[usersByDay.length - 1].</li>
7
<li>On the next line, log the last element of the array in the console: usersByDay[usersByDay.length - 1].</li>
8
<li>On the next line, log the third from the end array element in the console using square brackets and length.</li>
8
<li>On the next line, log the third from the end array element in the console using square brackets and length.</li>
9
<li>Now, in the first line, add the fifth element 1000 to the array usersByDay, separated by a comma and make sure that the console log function is working correctly.</li>
9
<li>Now, in the first line, add the fifth element 1000 to the array usersByDay, separated by a comma and make sure that the console log function is working correctly.</li>
10
</ol>
10
</ol>