Because it acts as if the var declaration was at the beginning of the function. Weird behavior. BTW if you've only learned JavaScript you might not know that JS ...
確定! 回上一頁