Длина масиву:
var items = ['shoes', 'shirts', 'socks', 'sweaters']; items.length;
https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/Array
Last updated 6 months ago