js之获取json属性的个数

var json = {'name':'abc', 'age': 16}
length = Object.keys(json).length
Last modification:June 6th, 2020 at 10:05 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment