在JavaScript中,什么时候需要使用this:
(function(){ //Bunch of code... })();
在这个问题上:
//Bunch of code...
据我所知,它允许你创建私有属性和方法。