闭包传入参数 window & undefined 大家在前端开发中对闭包应该和熟悉了,也就是几种常见的闭包方式:1:
var undefined = 123;(function(undefined){ console.info(undefined);})() //在参数中传入undefined和不传情况下会输出什么?