結果 : javascript check if object has key and value