Sum of all Array Lengths in an Object (in Javascript/Typescript)?

前端 未结 0 471
轮回少年
轮回少年 2020-12-08 09:12

ex..

var obj = {
  arr1: [\'one\', \'two\'],
  arr2: [\'three\']
}

The return value should be 3.

I\'m assuming the easiest way would b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题