結果 : javascript while variable is undefined