結果 : test if object is undefined javascript