2015-06-21 function与感叹号 e.g. !function(){ alert("hello")}() equals: (function(){alert("hello")})() equals: (function(){alert("hello")}()) 共同目的:将函数声明转化成表达式,在进行函数调用参考:http://swordair.com/function-and-exclamation-mark/ Newer golang-sync WaitGroup Older javascript-继承