为什么我写document.write(screen.width);和document.write(window.screen.width);是一样的结果,那么什么时候要用window什么时候不用呢
Can I omit the word window in window.screen.width? -PHP Chinese website Q&A-Can the window in window.screen.width not be written? -PHP Chinese website Q&A
Please watch and learn.
一般都可以省掉不写 看你的习惯咯 一个程序员不要去死记一些东西 用多了敲多自然就懂了
Can I omit the word window in window.screen.width? -PHP Chinese website Q&A-Can the window in window.screen.width not be written? -PHP Chinese website Q&A
Please watch and learn.
一般都可以省掉不写 看你的习惯咯 一个程序员不要去死记一些东西 用多了敲多自然就懂了