結果 : check if object key is empty javascript