結果 : javascript undefined check not working