結果 : javascript declare variable in if statement