Answer #3: ... I would recommend using the following code: var newArray = array.filter(value => JSON.stringify(value) !== '{}');. I did not use Object.keys(value) ...
確定! 回上一頁