首页
运维笔记
SEO心得
软件程序
网站源码
旗下网站
programmer
登录
标签
javascriptChecking if a property
javascript - Checking if a property exists in "window" fails if "window." is not prepended -
I want to check if a property exists in window, so I did this:This code works:if (window.foo) {alert(&q
admin
1天前
3
0