var obj = (function(a,b){ a.prop = b return a }(this,‘hello‘))
console.log(obj.prop)
hello [Finished in 0.4s]
javascript自执行函数常见写法
原文:http://blog.51cto.com/12173069/2293788