{}" in Javascript
This question already has an answer here:
In browsers, the window object is global.
If $N is falsy, {} will be assigned to window.$N . If $N is truthy, its value will be assigned to window.$N (keeping the same value probably).
This is a common way to override default values.
链接地址: http://www.djcxy.com/p/95292.html上一篇: Javascript对象创建?
下一篇: {}“
