JSON.stringify(obj) === '{}'; JSON.stringify(obj) === '[]'
https://www.cnblogs.com/xxhuan/p/6582114.html