js 检查dict对象的长度时间:2025-04-07 07:52:22是用来获取到dict的键的数组,再通过length获取dict的长度 const dict = {a: 'aa', b: 'bb', c: 'cc'} (dict).length