結果 : check if object has keys javascript