【发布时间】:2011-05-25 19:11:19
【问题描述】:
在这里使用void 的目的是什么?如果只是删除void(),它应该也可以工作,对吧?
var b=document.body;
if(b&&!document.xmlVersion) {
void(z=document.createElement('script'));
void(z.src='http://www.google.ca/reader/ui/subscribe-bookmarklet.js');
void(b.appendChild(z));
}
else {
location='http://www.google.com/reader/view/feed/'+encodeURIComponent(location.href);
}
【问题讨论】:
-
This Answer 解释它。
-
@onteria_ 它被用作函数 3 个不同的时间
标签: javascript