立即执行函数主要是为了防止全局变量污染
const abc = (() => {
console.log(’‘33333’’)
})()
立即执行函数表达式
猜你喜欢
转载自blog.csdn.net/liangkaihuaen/article/details/106718450
今日推荐
周排行