結果 : check if key is in object javascript