[ function ] 函数名 [()] { action; [return int;] } # 1.函数在被调用前先声明好 # 2.function关键字可有无
# 函数名() # 函数名(参数1,参数2) # 函数名 参数1 参数2 # $(函数名 参数1 参数2)