結果 : javascript define variable outside function