結果 : check key in dictionary javascript