JAVASCRIPT · ОСНОВЫ · LESSON 13
Take one element.
Array index · about 12 minutes
Learning with progressRead the summary for free. To save the work, log in to the account.
Type the code yourself
Type an example manually. Check the names, brackets and signs.
const nums = [10, 20, 30];
console.log(nums[1]);Open the editor for class workSolve it yourself
Create const fruits as an array of words «яблоко», «груша», «банан». Put the second fruit through its index.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework