結果 : test if object has key javascript