4.1函数的声明

  1. //函数体 function 封装一段特定功能的代码
  2. function go(){
  3. console.log("hello word");
  4. }
  5. //调用
  6. go();