結果 : check if undefined or null javascript