Languages

JavaScript - how to get size of array inside object?

0 points
Asked by:
Kevin
797

How to get size of array inside object?

Let's say I have the following object:

and I want to get number of elements inside items array.

How can I do this?

1 answer
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join