結果 : check if not undefined or null javascript