結果 : check for key in dictionary javascript