function 中定义函数的默认返回值,

result有默认值的
int类型的为0,string类型的为‘’,tobject类型的为nil等等

原文地址:https://www.cnblogs.com/zhangzhifeng/p/3953578.html