0

I dont see how we can find the length of an object. For arrays i can your array.length but it doesnt work for objects, any suggestions?

Thanks!

1 Answers1

1

Just like that:

Object.keys(objectName).length;
brigysl
  • 179
  • 1
  • 14