Arrays & array methods
Computer Science · JavaScript
Loading practice question…
About this practice set
Arrays & array methods is part of Computer Science (JavaScript). Questions are generated with new numbers each time you practise. Levels available: Easy. After you answer, an explanation is shown.
Example questions
A taste of what you will practise. Answers are revealed after you try.
Easy
What does this JavaScript code log? const a = [8, 1, 3]; console.log(a.length)