結果 : check if dictionary contains key javascript