(8個答案) 6年前關閉。 測試JavaScript中是否undefined variable 的最合適方法是什麼? 我已經看到了幾種可能的方法: if (window.myVariable)
確定! 回上一頁