結果 : javascript declare variable inside if statement