對於JavaScript程式的除錯,相比於alert(),使用console.log()是一種更好的方式,原因在於:alert()函式會阻 ... console.log(“%s is %d years old.
確定! 回上一頁