Javascript的函数语法
1. 普通函数
关键字: function function name(参数){ 函数体 }
2. 匿名函数
function (参数){ 循环体; }
3. 自执行函数