-JavaScript- var a; 在後面要判斷它是否有用到, 可以使用typeof 這個關鍵字, 例: if(typeof(a) !== 'undefined') { alert('有值'); } ...
確定! 回上一頁