結果 : check if empty or undefined javascript